public abstract class AbstractMethodLikeDeclarationContext<T extends Node & NodeWithParameters<T> & NodeWithTypeParameters<T>> extends AbstractJavaParserContext<T>
typeSolver, wrappedNode| Constructor and Description | 
|---|
| AbstractMethodLikeDeclarationContext(T wrappedNode,
                                    TypeSolver typeSolver) | 
| Modifier and Type | Method and Description | 
|---|---|
| Optional<ResolvedType> | solveGenericType(String name) | 
| SymbolReference<ResolvedMethodDeclaration> | solveMethod(String name,
           List<ResolvedType> argumentsTypes,
           boolean staticOnly)We find the method declaration which is the best match for the given name and list of typeParametersValues. | 
| SymbolReference<? extends ResolvedValueDeclaration> | solveSymbol(String name) | 
| Optional<Value> | solveSymbolAsValue(String name) | 
| SymbolReference<ResolvedTypeDeclaration> | solveType(String name) | 
equals, findTypeDeclarations, getParent, getWrappedNode, hashCode, solveWith, solveWithAsValueclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitfieldDeclarationInScope, fieldsExposedToChild, localVariableDeclarationInScope, localVariablesExposedToChild, parameterDeclarationInScope, parametersExposedToChild, solveConstructor, solveMethodAsUsagepublic AbstractMethodLikeDeclarationContext(T wrappedNode, TypeSolver typeSolver)
public final SymbolReference<? extends ResolvedValueDeclaration> solveSymbol(String name)
public final Optional<ResolvedType> solveGenericType(String name)
solveGenericType in interface ContextsolveGenericType in class AbstractJavaParserContext<T extends Node & NodeWithParameters<T> & NodeWithTypeParameters<T>>public final SymbolReference<ResolvedTypeDeclaration> solveType(String name)
public final SymbolReference<ResolvedMethodDeclaration> solveMethod(String name, List<ResolvedType> argumentsTypes, boolean staticOnly)
ContextCopyright © 2007–2020. All rights reserved.