Package org.codehaus.groovy.classgen.asm

# Class MethodReferenceExpressionWriter

java.lang.Object
org.codehaus.groovy.classgen.asm.MethodPointerExpressionWriter
org.codehaus.groovy.classgen.asm.MethodReferenceExpressionWriter

Direct Known Subclasses:
  `StaticTypesMethodReferenceExpressionWriter`

public class MethodReferenceExpressionWriter extends MethodPointerExpressionWriter
Generates bytecode for method reference expressions.

Since:
  3.0.0

- ## Field Summary

  ### Fields inherited from class org.codehaus.groovy.classgen.asm.MethodPointerExpressionWriter

  `controller`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MethodReferenceExpressionWriter(WriterController controller)`
  Creates a method reference expression writer with the given controller.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `writeMethodReferenceExpression(MethodReferenceExpression expression)`
  Generates bytecode for a method reference expression.

  ### Methods inherited from class org.codehaus.groovy.classgen.asm.MethodPointerExpressionWriter

  `writeMethodPointerExpression`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### MethodReferenceExpressionWriter

    public MethodReferenceExpressionWriter(WriterController controller)
    Creates a method reference expression writer with the given controller.
    Parameters:
      `controller` - the writer controller

- ## Method Details

  - ### writeMethodReferenceExpression

    public void writeMethodReferenceExpression(MethodReferenceExpression expression)
    Generates bytecode for a method reference expression.
    Parameters:
      `expression` - the method reference expression