public class LambdaExprContext extends AbstractJavaParserContext<LambdaExpr>
typeSolver, wrappedNode
Constructor and Description |
---|
LambdaExprContext(LambdaExpr wrappedNode,
TypeSolver typeSolver) |
Modifier and Type | Method and Description |
---|---|
List<Parameter> |
parametersExposedToChild(Node child)
The parameters that are declared in this immediate context and made visible to a given child.
|
SymbolReference<ResolvedMethodDeclaration> |
solveMethod(String name,
List<ResolvedType> argumentsTypes,
boolean staticOnly)
We find the method declaration which is the best match for the given name and list of typeParametersValues.
|
SymbolReference<? extends ResolvedValueDeclaration> |
solveSymbol(String name) |
Optional<Value> |
solveSymbolAsValue(String name) |
SymbolReference<ResolvedTypeDeclaration> |
solveType(String name) |
protected Optional<Value> |
solveWithAsValue(SymbolDeclarator symbolDeclarator,
String name) |
equals, findTypeDeclarations, getParent, getWrappedNode, hashCode, solveGenericType, solveWith
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
fieldDeclarationInScope, fieldsExposedToChild, localVariableDeclarationInScope, localVariablesExposedToChild, parameterDeclarationInScope, solveConstructor, solveMethodAsUsage
public LambdaExprContext(LambdaExpr wrappedNode, TypeSolver typeSolver)
public SymbolReference<? extends ResolvedValueDeclaration> solveSymbol(String name)
public SymbolReference<ResolvedTypeDeclaration> solveType(String name)
public SymbolReference<ResolvedMethodDeclaration> solveMethod(String name, List<ResolvedType> argumentsTypes, boolean staticOnly)
Context
public List<Parameter> parametersExposedToChild(Node child)
Context
protected final Optional<Value> solveWithAsValue(SymbolDeclarator symbolDeclarator, String name)
solveWithAsValue
in class AbstractJavaParserContext<LambdaExpr>
Copyright © 2007–2020. All rights reserved.