Class JavaReconLambda
java.lang.Object
com.pnfsoftware.jeb.core.units.code.java.JavaReconLambda
An object holding reconstructed information for a lambda.
-
Constructor Summary
ConstructorsConstructorDescriptionJavaReconLambda(IJavaType type, String lambdaImplMsig, List<Integer> lambdaParamPositions, Map<IJavaIdentifier, IJavaExpression> lambdaCaptures) Create lambda reconstruction metadata. -
Method Summary
Modifier and TypeMethodDescriptionRetrieve the captured expressions.Retrieve the implemented method signature.Retrieve the lambda parameter positions.getType()Retrieve the functional interface type.
-
Constructor Details
-
JavaReconLambda
public JavaReconLambda(IJavaType type, String lambdaImplMsig, List<Integer> lambdaParamPositions, Map<IJavaIdentifier, IJavaExpression> lambdaCaptures) Create lambda reconstruction metadata.- Parameters:
type- functional interface typelambdaImplMsig- lambda implementation method signaturelambdaParamPositions- parameter positions used by the lambda implementationlambdaCaptures- captured expressions keyed by identifier
-
-
Method Details
-
getType
Retrieve the functional interface type.- Returns:
- functional interface type
-
getImplementedMsig
Retrieve the implemented method signature.- Returns:
- implemented method signature
-
getParameterPositions
Retrieve the lambda parameter positions.- Returns:
- parameter positions
-
getCapturedExpressions
Retrieve the captured expressions.- Returns:
- captured expressions keyed by identifier
-