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 |
---|---|
List<com.github.javaparser.resolution.declarations.ResolvedFieldDeclaration> |
fieldsExposedToChild(com.github.javaparser.ast.Node child)
The fields that are declared and in this immediate context made visible to a given child.
|
SymbolReference<com.github.javaparser.resolution.declarations.ResolvedConstructorDeclaration> |
solveConstructor(List<com.github.javaparser.resolution.types.ResolvedType> argumentsTypes)
We find the method declaration which is the best match for the given name and list of typeParametersValues.
|
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, solveWithAsValue
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
fieldDeclarationInScope, localVariableDeclarationInScope, localVariablesExposedToChild, parameterDeclarationInScope, parametersExposedToChild, solveMethodAsUsage
public ClassOrInterfaceDeclarationContext(com.github.javaparser.ast.body.ClassOrInterfaceDeclaration wrappedNode, TypeSolver typeSolver)
public SymbolReference<? extends com.github.javaparser.resolution.declarations.ResolvedValueDeclaration> solveSymbol(String name)
public Optional<com.github.javaparser.resolution.types.ResolvedType> solveGenericType(String name)
solveGenericType
in interface Context
solveGenericType
in class AbstractJavaParserContext<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration>
public SymbolReference<com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration> solveType(String name)
public SymbolReference<com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration> solveMethod(String name, List<com.github.javaparser.resolution.types.ResolvedType> argumentsTypes, boolean staticOnly)
Context
public SymbolReference<com.github.javaparser.resolution.declarations.ResolvedConstructorDeclaration> solveConstructor(List<com.github.javaparser.resolution.types.ResolvedType> argumentsTypes)
Context
public List<com.github.javaparser.resolution.declarations.ResolvedFieldDeclaration> fieldsExposedToChild(com.github.javaparser.ast.Node child)
Context
Copyright © 2007–2019. All rights reserved.