solveType
Method used to solve a name with an expected list of type arguments. This method differs from solveType by taking the type arguments in consideration. For example, lets imagine that we have a project containing the following classes:
- com/example/Alpha.java
- com/example/Beta.java
Return
The declaration associated with the given type name.
Parameters
The name to be solved.
The list of expected type arguments.
Deprecated
Consider using method solveType that also consider the type arguments. If you want to keep to use the new function, but keep the same behavior consider passing type arguments as null.
Default to being unable to solve any reference in this context, delegating solving to the parent context. Contexts which exist as the "parent" of a resolvable type will override this method. For example, a compilation unit can contain classes. A class declaration can also contain types (e.g. a subclass).
Return
The declaration associated with the given type name.
Parameters
For example, solving List or java.util.List.