public class ClassOrInterfaceDeclarationContext extends AbstractJavaParserContext<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration>
typeSolver, wrappedNode| Constructor and Description |
|---|
ClassOrInterfaceDeclarationContext(com.github.javaparser.ast.body.ClassOrInterfaceDeclaration wrappedNode,
TypeSolver typeSolver) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Type> |
solveGenericType(String name,
TypeSolver typeSolver) |
SymbolReference<MethodDeclaration> |
solveMethod(String name,
List<Type> argumentsTypes,
TypeSolver typeSolver)
We find the method declaration which is the best match for the given name and list of typeParametersValues.
|
SymbolReference<? extends ValueDeclaration> |
solveSymbol(String name,
TypeSolver typeSolver) |
Optional<Value> |
solveSymbolAsValue(String name,
TypeSolver typeSolver) |
SymbolReference<TypeDeclaration> |
solveType(String name,
TypeSolver typeSolver) |
equals, getParent, hashCode, solveWith, solveWithAsValueclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitsolveMethodAsUsagepublic ClassOrInterfaceDeclarationContext(com.github.javaparser.ast.body.ClassOrInterfaceDeclaration wrappedNode,
TypeSolver typeSolver)
public SymbolReference<? extends ValueDeclaration> solveSymbol(String name, TypeSolver typeSolver)
public Optional<Value> solveSymbolAsValue(String name, TypeSolver typeSolver)
public Optional<Type> solveGenericType(String name, TypeSolver typeSolver)
solveGenericType in interface ContextsolveGenericType in class AbstractJavaParserContext<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration>public SymbolReference<TypeDeclaration> solveType(String name, TypeSolver typeSolver)
public SymbolReference<MethodDeclaration> solveMethod(String name, List<Type> argumentsTypes, TypeSolver typeSolver)
ContextCopyright © 2016. All rights reserved.