Package: org.codehaus.groovy.ast.expr

## [Java] Class LambdaExpression

- org.codehaus.groovy.ast.expr.LambdaExpression

- Represents a lambda expression such as one of these:

       e -> e * 2
       (x, y) -> x + y
       (x, y) -> { x + y
       (int x, int y) -> { x + y }
       }

- - Inherited fields
    Fields inherited from class | Fields
    --- | ---
    `class Expression` | `EMPTY_ARRAY`

  - ### Constructor Summary

    Constructors
    Constructor and description
    `LambdaExpression (Parameter[] parameters, Statement code)`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `String` | `getText()`
    `` | `boolean` | `isSerializable()`
    `` | `void` | `setSerializable(boolean serializable)`
    `` | `void` | `visit(GroovyCodeVisitor visitor)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class ClosureExpression` | `getCode, getParameters, getText, getVariableScope, isParameterSpecified, setCode, setVariableScope, toString, transformExpression, visit`
    `class Expression` | `getType, setType, transformExpression, transformExpressions, transformExpressions`
    `class AnnotatedNode` | `addAnnotation, addAnnotations, getAnnotations, getAnnotations, getDeclaringClass, getGroovydoc, getInstance, hasNoRealSourcePosition, isSynthetic, setDeclaringClass, setHasNoRealSourcePosition, setSynthetic`
    `class ASTNode` | `copyNodeMetaData, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getMetaDataMap, getText, hashCode, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setMetaDataMap, setSourcePosition, visit`

- - ### Constructor Detail

    - #### public LambdaExpression(Parameter[] parameters, Statement code)

  - ### Method Detail

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprOverride public String getText()

    - #### public boolean isSerializable()

    - #### public void setSerializable(boolean serializable)

    - #### public void visit(GroovyCodeVisitor visitor)