Class AbstractMethodLikeDeclarationContext<T extends com.github.javaparser.ast.Node & com.github.javaparser.ast.nodeTypes.NodeWithParameters<T> & com.github.javaparser.ast.nodeTypes.NodeWithTypeParameters<T>>
java.lang.Object
com.github.javaparser.symbolsolver.javaparsermodel.contexts.AbstractJavaParserContext<T>
com.github.javaparser.symbolsolver.javaparsermodel.contexts.AbstractMethodLikeDeclarationContext<T>
- All Implemented Interfaces:
com.github.javaparser.resolution.Context
- Direct Known Subclasses:
ConstructorContext, MethodContext
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>
- Author:
- Federico Tomassetti
-
Field Summary
Fields inherited from class AbstractJavaParserContext
typeSolver, wrappedNode -
Constructor Summary
ConstructorsConstructorDescriptionAbstractMethodLikeDeclarationContext(T wrappedNode, com.github.javaparser.resolution.TypeSolver typeSolver) -
Method Summary
Modifier and TypeMethodDescriptionfinal Optional<com.github.javaparser.resolution.types.ResolvedType> solveGenericType(String name) final com.github.javaparser.resolution.model.SymbolReference<com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration> solveMethod(String name, List<com.github.javaparser.resolution.types.ResolvedType> argumentsTypes, boolean staticOnly) final com.github.javaparser.resolution.model.SymbolReference<? extends com.github.javaparser.resolution.declarations.ResolvedValueDeclaration> solveSymbol(String name) final Optional<com.github.javaparser.resolution.model.Value> solveSymbolAsValue(String name) final com.github.javaparser.resolution.model.SymbolReference<com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration> Methods inherited from class AbstractJavaParserContext
equals, findExposedPatternInParentContext, findTypeDeclarations, getParent, getScope, getWrappedNode, hashCode, negatedTypePatternExprsExposedFromChildren, solveMethodAsUsage, solveSymbolInParentContext, solveWith, solveWithAsValue, typePatternExprsDiscoveredInPattern, typePatternExprsExposedFromChildrenMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.github.javaparser.resolution.Context
fieldDeclarationInScope, fieldsExposedToChild, localVariableDeclarationInScope, localVariablesExposedToChild, parameterDeclarationInScope, parametersExposedToChild, solveConstructor, solveGenericTypeInParentContext, solveMethodInParentContext, solveSymbolAsValueInParentContext, solveType, solveTypeInParentContext, solveTypeInParentContext, typePatternExprInScope, typePatternExprsExposedToChild
-
Constructor Details
-
AbstractMethodLikeDeclarationContext
public AbstractMethodLikeDeclarationContext(T wrappedNode, com.github.javaparser.resolution.TypeSolver typeSolver)
-
-
Method Details
-
solveSymbol
public final com.github.javaparser.resolution.model.SymbolReference<? extends com.github.javaparser.resolution.declarations.ResolvedValueDeclaration> solveSymbol(String name) -
solveGenericType
-
solveSymbolAsValue
-
solveType
-
solveMethod
-