Class LambdaExprContext
- java.lang.Object
-
- com.github.javaparser.symbolsolver.javaparsermodel.contexts.AbstractJavaParserContext<N>
-
- com.github.javaparser.symbolsolver.javaparsermodel.contexts.ExpressionContext<com.github.javaparser.ast.expr.LambdaExpr>
-
- com.github.javaparser.symbolsolver.javaparsermodel.contexts.LambdaExprContext
-
- All Implemented Interfaces:
com.github.javaparser.resolution.Context
public class LambdaExprContext extends ExpressionContext<com.github.javaparser.ast.expr.LambdaExpr>
- Author:
- Federico Tomassetti
-
-
Field Summary
-
Fields inherited from class com.github.javaparser.symbolsolver.javaparsermodel.contexts.AbstractJavaParserContext
typeSolver, wrappedNode
-
-
Constructor Summary
Constructors Constructor Description LambdaExprContext(com.github.javaparser.ast.expr.LambdaExpr wrappedNode, com.github.javaparser.resolution.TypeSolver typeSolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<com.github.javaparser.ast.body.Parameter>parametersExposedToChild(com.github.javaparser.ast.Node child)com.github.javaparser.resolution.model.SymbolReference<com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration>solveMethod(java.lang.String name, java.util.List<com.github.javaparser.resolution.types.ResolvedType> argumentsTypes, boolean staticOnly)com.github.javaparser.resolution.model.SymbolReference<? extends com.github.javaparser.resolution.declarations.ResolvedValueDeclaration>solveSymbol(java.lang.String name)java.util.Optional<com.github.javaparser.resolution.model.Value>solveSymbolAsValue(java.lang.String name)protected java.util.Optional<com.github.javaparser.resolution.model.Value>solveWithAsValue(com.github.javaparser.resolution.SymbolDeclarator symbolDeclarator, java.lang.String name)-
Methods inherited from class com.github.javaparser.symbolsolver.javaparsermodel.contexts.AbstractJavaParserContext
equals, findExposedPatternInParentContext, findTypeDeclarations, getParent, getScope, getWrappedNode, hashCode, negatedTypePatternExprsExposedFromChildren, solveMethodAsUsage, solveSymbolInParentContext, solveWith, typePatternExprsDiscoveredInPattern, typePatternExprsExposedFromChildren
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.github.javaparser.resolution.Context
fieldDeclarationInScope, fieldsExposedToChild, localVariableDeclarationInScope, localVariablesExposedToChild, parameterDeclarationInScope, solveConstructor, solveGenericType, solveGenericTypeInParentContext, solveMethodInParentContext, solveSymbolAsValueInParentContext, solveType, solveType, solveTypeInParentContext, solveTypeInParentContext, typePatternExprInScope, typePatternExprsExposedToChild
-
-
-
-
Method Detail
-
solveSymbolAsValue
public java.util.Optional<com.github.javaparser.resolution.model.Value> solveSymbolAsValue(java.lang.String name)
- Specified by:
solveSymbolAsValuein interfacecom.github.javaparser.resolution.Context- Overrides:
solveSymbolAsValuein classExpressionContext<com.github.javaparser.ast.expr.LambdaExpr>
-
solveSymbol
public com.github.javaparser.resolution.model.SymbolReference<? extends com.github.javaparser.resolution.declarations.ResolvedValueDeclaration> solveSymbol(java.lang.String name)
- Specified by:
solveSymbolin interfacecom.github.javaparser.resolution.Context- Overrides:
solveSymbolin classExpressionContext<com.github.javaparser.ast.expr.LambdaExpr>
-
solveMethod
public com.github.javaparser.resolution.model.SymbolReference<com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration> solveMethod(java.lang.String name, java.util.List<com.github.javaparser.resolution.types.ResolvedType> argumentsTypes, boolean staticOnly)
-
parametersExposedToChild
public java.util.List<com.github.javaparser.ast.body.Parameter> parametersExposedToChild(com.github.javaparser.ast.Node child)
-
solveWithAsValue
protected final java.util.Optional<com.github.javaparser.resolution.model.Value> solveWithAsValue(com.github.javaparser.resolution.SymbolDeclarator symbolDeclarator, java.lang.String name)- Overrides:
solveWithAsValuein classAbstractJavaParserContext<com.github.javaparser.ast.expr.LambdaExpr>
-
-