Interface SymbolResolutionCapability
- All Known Implementing Classes:
JavaParserClassDeclaration,JavaParserEnumDeclaration,JavaParserInterfaceDeclaration,JavaParserRecordDeclaration,JavassistClassDeclaration,JavassistEnumDeclaration,JavassistInterfaceDeclaration,JavassistRecordDeclaration,ReflectionClassDeclaration,ReflectionEnumDeclaration,ReflectionInterfaceDeclaration
public interface SymbolResolutionCapability
Allows for an implementing declaration type to support solving for field (symbol) usage.
-
Method Summary
Modifier and TypeMethodDescriptioncom.github.javaparser.resolution.model.SymbolReference<? extends com.github.javaparser.resolution.declarations.ResolvedValueDeclaration> solveSymbol(String name, com.github.javaparser.resolution.TypeSolver typeSolver)
-
Method Details
-
solveSymbol
com.github.javaparser.resolution.model.SymbolReference<? extends com.github.javaparser.resolution.declarations.ResolvedValueDeclaration> solveSymbol(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.
-