public abstract class AbstractMethodLikeDeclarationContext<T extends com.github.javaparser.ast.Node & com.github.javaparser.ast.nodeTypes.NodeWithParameters<T> & com.github.javaparser.ast.nodeTypes.NodeWithTypeParameters<T>> extends AbstractJavaParserContext<T>
typeSolver, wrappedNode| Constructor and Description | 
|---|
| AbstractMethodLikeDeclarationContext(T wrappedNode,
                                    TypeSolver typeSolver) | 
| Modifier and Type | Method and Description | 
|---|---|
| Optional<com.github.javaparser.resolution.types.ResolvedType> | solveGenericType(String name) | 
| SymbolReference<com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration> | solveMethod(String name,
           List<com.github.javaparser.resolution.types.ResolvedType> argumentsTypes,
           boolean staticOnly)We find the method declaration which is the best match for the given name and list of typeParametersValues. | 
| SymbolReference<? extends com.github.javaparser.resolution.declarations.ResolvedValueDeclaration> | solveSymbol(String name) | 
| Optional<Value> | solveSymbolAsValue(String name) | 
| SymbolReference<com.github.javaparser.resolution.declarations.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 com.github.javaparser.resolution.declarations.ResolvedValueDeclaration> solveSymbol(String name)
public final Optional<com.github.javaparser.resolution.types.ResolvedType> solveGenericType(String name)
solveGenericType in interface ContextsolveGenericType in class AbstractJavaParserContext<T extends com.github.javaparser.ast.Node & com.github.javaparser.ast.nodeTypes.NodeWithParameters<T> & com.github.javaparser.ast.nodeTypes.NodeWithTypeParameters<T>>public final SymbolReference<com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration> solveType(String name)
public final SymbolReference<com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration> solveMethod(String name, List<com.github.javaparser.resolution.types.ResolvedType> argumentsTypes, boolean staticOnly)
ContextCopyright © 2007–2020. All rights reserved.