public class FieldAccessContext extends ExpressionContext<FieldAccessExpr>
typeSolver, wrappedNode
Constructor and Description |
---|
FieldAccessContext(FieldAccessExpr wrappedNode,
TypeSolver typeSolver) |
Modifier and Type | Method and Description |
---|---|
SymbolReference<ResolvedValueDeclaration> |
solveField(String name) |
SymbolReference<ResolvedMethodDeclaration> |
solveMethod(String name,
List<ResolvedType> parameterTypes,
boolean staticOnly) |
SymbolReference<? extends ResolvedValueDeclaration> |
solveSymbol(String name) |
Optional<Value> |
solveSymbolAsValue(String name) |
SymbolReference<ResolvedTypeDeclaration> |
solveType(String name,
List<ResolvedType> typeArguments) |
equals, findExposedPatternInParentContext, findTypeDeclarations, getParent, getScope, getWrappedNode, hashCode, negatedTypePatternExprsExposedFromChildren, solveMethodAsUsage, solveSymbolInParentContext, solveWith, solveWithAsValue, typePatternExprsDiscoveredInPattern, typePatternExprsExposedFromChildren
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
fieldDeclarationInScope, fieldsExposedToChild, localVariableDeclarationInScope, localVariablesExposedToChild, parameterDeclarationInScope, parametersExposedToChild, solveConstructor, solveGenericType, solveGenericTypeInParentContext, solveMethodInParentContext, solveSymbolAsValueInParentContext, solveType, solveTypeInParentContext, solveTypeInParentContext, typePatternExprInScope, typePatternExprsExposedToChild
public FieldAccessContext(FieldAccessExpr wrappedNode, TypeSolver typeSolver)
public SymbolReference<? extends ResolvedValueDeclaration> solveSymbol(String name)
solveSymbol
in interface Context
solveSymbol
in class ExpressionContext<FieldAccessExpr>
public SymbolReference<ResolvedTypeDeclaration> solveType(String name, List<ResolvedType> typeArguments)
public SymbolReference<ResolvedMethodDeclaration> solveMethod(String name, List<ResolvedType> parameterTypes, boolean staticOnly)
public Optional<Value> solveSymbolAsValue(String name)
solveSymbolAsValue
in interface Context
solveSymbolAsValue
in class ExpressionContext<FieldAccessExpr>
public SymbolReference<ResolvedValueDeclaration> solveField(String name)
Copyright © 2007–2024. All rights reserved.