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
  • 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

      public final Optional<com.github.javaparser.resolution.types.ResolvedType> solveGenericType(String name)
    • solveSymbolAsValue

      public final Optional<com.github.javaparser.resolution.model.Value> solveSymbolAsValue(String name)
    • solveType

      public final com.github.javaparser.resolution.model.SymbolReference<com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration> solveType(String name, List<com.github.javaparser.resolution.types.ResolvedType> typeArguments)
    • solveMethod

      public 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)