Class RecordDeclarationContext
java.lang.Object
com.github.javaparser.symbolsolver.javaparsermodel.contexts.AbstractJavaParserContext<com.github.javaparser.ast.body.RecordDeclaration>
com.github.javaparser.symbolsolver.javaparsermodel.contexts.RecordDeclarationContext
- All Implemented Interfaces:
com.github.javaparser.resolution.Context
public class RecordDeclarationContext
extends AbstractJavaParserContext<com.github.javaparser.ast.body.RecordDeclaration>
- Author:
- Federico Tomassetti
-
Field Summary
Fields inherited from class AbstractJavaParserContext
typeSolver, wrappedNode -
Constructor Summary
ConstructorsConstructorDescriptionRecordDeclarationContext(com.github.javaparser.ast.body.RecordDeclaration wrappedNode, com.github.javaparser.resolution.TypeSolver typeSolver) Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<com.github.javaparser.resolution.declarations.ResolvedFieldDeclaration> fieldsExposedToChild(com.github.javaparser.ast.Node child) com.github.javaparser.resolution.model.SymbolReference<com.github.javaparser.resolution.declarations.ResolvedConstructorDeclaration> solveConstructor(List<com.github.javaparser.resolution.types.ResolvedType> argumentsTypes) Optional<com.github.javaparser.resolution.types.ResolvedType> solveGenericType(String name) 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) com.github.javaparser.resolution.model.SymbolReference<? extends com.github.javaparser.resolution.declarations.ResolvedValueDeclaration> solveSymbol(String name) Public methodsOptional<com.github.javaparser.resolution.model.Value> solveSymbolAsValue(String name) 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, localVariableDeclarationInScope, localVariablesExposedToChild, parameterDeclarationInScope, parametersExposedToChild, solveGenericTypeInParentContext, solveMethodInParentContext, solveSymbolAsValueInParentContext, solveType, solveTypeInParentContext, solveTypeInParentContext, typePatternExprInScope, typePatternExprsExposedToChild
-
Constructor Details
-
RecordDeclarationContext
public RecordDeclarationContext(com.github.javaparser.ast.body.RecordDeclaration wrappedNode, com.github.javaparser.resolution.TypeSolver typeSolver) Constructors
-
-
Method Details
-
solveSymbol
public com.github.javaparser.resolution.model.SymbolReference<? extends com.github.javaparser.resolution.declarations.ResolvedValueDeclaration> solveSymbol(String name) Public methods -
solveSymbolAsValue
-
solveGenericType
-
solveType
-
solveMethod
-
solveConstructor
public com.github.javaparser.resolution.model.SymbolReference<com.github.javaparser.resolution.declarations.ResolvedConstructorDeclaration> solveConstructor(List<com.github.javaparser.resolution.types.ResolvedType> argumentsTypes) -
fieldsExposedToChild
public List<com.github.javaparser.resolution.declarations.ResolvedFieldDeclaration> fieldsExposedToChild(com.github.javaparser.ast.Node child)
-