Package com.github.javaparser.resolution
Interface SymbolResolver
-
public interface SymbolResolver
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResolvedType
calculateType(Expression expression)
For an expression it would find the corresponding resolved type.<T> T
resolveDeclaration(Node node, Class<T> resultClass)
For a reference it would find the corresponding declaration.<T> T
toResolvedType(Type javaparserType, Class<T> resultClass)
For types it would find the corresponding resolved types.ResolvedReferenceTypeDeclaration
toTypeDeclaration(Node node)
For a node it would find the corresponding reference type declaration.
-
-
-
Method Detail
-
resolveDeclaration
<T> T resolveDeclaration(Node node, Class<T> resultClass)
For a reference it would find the corresponding declaration.
-
toResolvedType
<T> T toResolvedType(Type javaparserType, Class<T> resultClass)
For types it would find the corresponding resolved types.
-
calculateType
ResolvedType calculateType(Expression expression)
For an expression it would find the corresponding resolved type.
-
toTypeDeclaration
ResolvedReferenceTypeDeclaration toTypeDeclaration(Node node)
For a node it would find the corresponding reference type declaration.
-
-