Top Methods
com.github.javaparser.resolution

public Interface SymbolResolver

Imports
com.github.javaparser.ast.Node, com.github.javaparser.ast.expr.Expression, com.github.javaparser.ast.type.Type, com.github.javaparser.resolution.types.ResolvedType

Method Summary

Modifier and TypeMethod and Description
public ResolvedType
public <T> T
resolveDeclaration(Node node, Class<T> resultClass)

For a reference it would find the corresponding declaration.

public <T> T
toResolvedType(Type javaparserType, Class<T> resultClass)

For types it would find the corresponding resolved types.

Method Detail

calculateTypeback to summary
public ResolvedType calculateType(Expression expression)
resolveDeclarationback to summary
public <T> T resolveDeclaration(Node node, Class<T> resultClass)

For a reference it would find the corresponding declaration.

toResolvedTypeback to summary
public <T> T toResolvedType(Type javaparserType, Class<T> resultClass)

For types it would find the corresponding resolved types.