Interface SymbolResolutionCapability
-
- All Known Implementing Classes:
JavaParserClassDeclaration,JavaParserEnumDeclaration,JavaParserInterfaceDeclaration,JavaParserRecordDeclaration,JavassistClassDeclaration,JavassistEnumDeclaration,JavassistInterfaceDeclaration,JavassistRecordDeclaration,ReflectionClassDeclaration,ReflectionEnumDeclaration,ReflectionInterfaceDeclaration
public interface SymbolResolutionCapabilityAllows for an implementing declaration type to support solving for field (symbol) usage.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.github.javaparser.resolution.model.SymbolReference<? extends com.github.javaparser.resolution.declarations.ResolvedValueDeclaration>solveSymbol(java.lang.String name, com.github.javaparser.resolution.TypeSolver typeSolver)
-
-
-
Method Detail
-
solveSymbol
com.github.javaparser.resolution.model.SymbolReference<? extends com.github.javaparser.resolution.declarations.ResolvedValueDeclaration> solveSymbol(java.lang.String name, com.github.javaparser.resolution.TypeSolver typeSolver)- Parameters:
name- Field / symbol name.typeSolver- Symbol solver to resolve type usage.- Returns:
- Symbol reference of the resolved value.
-
-