public interface Context
| Modifier and Type | Method and Description |
|---|---|
Context |
getParent() |
default com.github.javaparser.symbolsolver.model.resolution.SymbolReference<com.github.javaparser.resolution.declarations.ResolvedConstructorDeclaration> |
solveConstructor(java.util.List<com.github.javaparser.resolution.types.ResolvedType> argumentsTypes,
com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver)
We find the method declaration which is the best match for the given name and list of typeParametersValues.
|
default java.util.Optional<com.github.javaparser.resolution.types.ResolvedType> |
solveGenericType(java.lang.String name,
com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver) |
com.github.javaparser.symbolsolver.model.resolution.SymbolReference<com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration> |
solveMethod(java.lang.String name,
java.util.List<com.github.javaparser.resolution.types.ResolvedType> argumentsTypes,
boolean staticOnly,
com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver)
We find the method declaration which is the best match for the given name and list of typeParametersValues.
|
default java.util.Optional<com.github.javaparser.resolution.MethodUsage> |
solveMethodAsUsage(java.lang.String name,
java.util.List<com.github.javaparser.resolution.types.ResolvedType> argumentsTypes,
com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver)
Similar to solveMethod but we return a MethodUsage.
|
com.github.javaparser.symbolsolver.model.resolution.SymbolReference<? extends com.github.javaparser.resolution.declarations.ResolvedValueDeclaration> |
solveSymbol(java.lang.String name,
com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver) |
default java.util.Optional<com.github.javaparser.symbolsolver.model.resolution.Value> |
solveSymbolAsValue(java.lang.String name,
com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver) |
default com.github.javaparser.symbolsolver.model.resolution.SymbolReference<com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration> |
solveType(java.lang.String name,
com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver) |
Context getParent()
default java.util.Optional<com.github.javaparser.resolution.types.ResolvedType> solveGenericType(java.lang.String name,
com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver)
default com.github.javaparser.symbolsolver.model.resolution.SymbolReference<com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration> solveType(java.lang.String name,
com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver)
com.github.javaparser.symbolsolver.model.resolution.SymbolReference<? extends com.github.javaparser.resolution.declarations.ResolvedValueDeclaration> solveSymbol(java.lang.String name,
com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver)
default java.util.Optional<com.github.javaparser.symbolsolver.model.resolution.Value> solveSymbolAsValue(java.lang.String name,
com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver)
default com.github.javaparser.symbolsolver.model.resolution.SymbolReference<com.github.javaparser.resolution.declarations.ResolvedConstructorDeclaration> solveConstructor(java.util.List<com.github.javaparser.resolution.types.ResolvedType> argumentsTypes,
com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver)
com.github.javaparser.symbolsolver.model.resolution.SymbolReference<com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration> solveMethod(java.lang.String name,
java.util.List<com.github.javaparser.resolution.types.ResolvedType> argumentsTypes,
boolean staticOnly,
com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver)
default java.util.Optional<com.github.javaparser.resolution.MethodUsage> solveMethodAsUsage(java.lang.String name,
java.util.List<com.github.javaparser.resolution.types.ResolvedType> argumentsTypes,
com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver)