Class JavaReconLambda

java.lang.Object
com.pnfsoftware.jeb.core.units.code.java.JavaReconLambda

@Ser(oldId=65703) public class JavaReconLambda extends Object
An object holding reconstructed information for a lambda.
  • Constructor Details

    • JavaReconLambda

      public JavaReconLambda(IJavaType type, String lambdaImplMsig, List<Integer> lambdaParamPositions, Map<IJavaIdentifier,IJavaExpression> lambdaCaptures)
      Create lambda reconstruction metadata.
      Parameters:
      type - functional interface type
      lambdaImplMsig - lambda implementation method signature
      lambdaParamPositions - parameter positions used by the lambda implementation
      lambdaCaptures - captured expressions keyed by identifier
  • Method Details

    • getType

      public IJavaType getType()
      Retrieve the functional interface type.
      Returns:
      functional interface type
    • getImplementedMsig

      public String getImplementedMsig()
      Retrieve the implemented method signature.
      Returns:
      implemented method signature
    • getParameterPositions

      public List<Integer> getParameterPositions()
      Retrieve the lambda parameter positions.
      Returns:
      parameter positions
    • getCapturedExpressions

      public Map<IJavaIdentifier,IJavaExpression> getCapturedExpressions()
      Retrieve the captured expressions.
      Returns:
      captured expressions keyed by identifier