Package org.codehaus.groovy.classgen.asm
Class MethodPointerExpressionWriter
java.lang.Object
org.codehaus.groovy.classgen.asm.MethodPointerExpressionWriter
- Direct Known Subclasses:
MethodReferenceExpressionWriter
Generates bytecode for method pointer expressions.
- Since:
- 3.0.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final WriterControllerThe controller coordinating all bytecode writers for the current class. -
Constructor Summary
ConstructorsConstructorDescriptionMethodPointerExpressionWriter(WriterController controller) Creates a method pointer expression writer with the given controller. -
Method Summary
Modifier and TypeMethodDescriptionvoidwriteMethodPointerExpression(MethodPointerExpression pointerOrReference) Generates bytecode for a method pointer expression.
-
Field Details
-
controller
The controller coordinating all bytecode writers for the current class.
-
-
Constructor Details
-
MethodPointerExpressionWriter
Creates a method pointer expression writer with the given controller.- Parameters:
controller- the writer controller
-
-
Method Details
-
writeMethodPointerExpression
Generates bytecode for a method pointer expression.- Parameters:
pointerOrReference- the method pointer expression
-