public interface TypeSolver
Modifier and Type | Field and Description |
---|---|
static String |
JAVA_LANG_OBJECT |
Modifier and Type | Method and Description |
---|---|
TypeSolver |
getParent()
Parent of the this TypeSolver.
|
default TypeSolver |
getRoot()
Get the root of the hierarchy of type solver.
|
default ResolvedReferenceTypeDeclaration |
getSolvedJavaLangObject() |
default boolean |
hasType(String name) |
void |
setParent(TypeSolver parent)
Set the parent of this TypeSolver.
|
default ResolvedReferenceTypeDeclaration |
solveType(String name)
Solve the given type.
|
SymbolReference<ResolvedReferenceTypeDeclaration> |
tryToSolveType(String name)
Try to solve the type with the given name.
|
static final String JAVA_LANG_OBJECT
default TypeSolver getRoot()
TypeSolver getParent()
void setParent(TypeSolver parent)
SymbolReference<ResolvedReferenceTypeDeclaration> tryToSolveType(String name)
default ResolvedReferenceTypeDeclaration solveType(String name) throws UnsolvedSymbolException
UnsolvedSymbolException
default ResolvedReferenceTypeDeclaration getSolvedJavaLangObject() throws UnsolvedSymbolException
java.lang.Object
UnsolvedSymbolException
default boolean hasType(String name)
Copyright © 2007–2023. All rights reserved.