Class MethodRefToLambda
java.lang.Object
manifold.internal.javac.MethodRefToLambda
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.sun.tools.javac.tree.JCTree.JCLambdaconvert(TypeProcessor tp, com.sun.tools.javac.tree.JCTree.JCMemberReference methodRef) Converts a JCMemberReference (method reference) to a JCLambda (lambda expression).
-
Method Details
-
convert
public static com.sun.tools.javac.tree.JCTree.JCLambda convert(TypeProcessor tp, com.sun.tools.javac.tree.JCTree.JCMemberReference methodRef) Converts a JCMemberReference (method reference) to a JCLambda (lambda expression).- Parameters:
methodRef- The JCMemberReference to convert.- Returns:
- A JCLambda representing the lambda equivalent of the method reference
-