ImmutablePropertyHandler (Groovy 5.1.0)

Package: groovy.transform.options

## [Java] Class ImmutablePropertyHandler

- groovy.transform.options.ImmutablePropertyHandler

-     public class ImmutablePropertyHandler
      extends PropertyHandler

- - Inherited fields
    Fields inherited from class | Fields
    --- | ---
    `class PropertyHandler` | `PROPERTY_OPTIONS_TYPE`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `protected Statement` | `checkFinalArgNotOverridden(ClassNode cNode, FieldNode fNode)`
    `` | `protected Expression` | `cloneCollectionExpr(Expression fieldExpr, ClassNode type)`
    `` | `protected Expression` | `createAsImmutableX(Expression expr, ClassNode type)`
    `` | `protected Statement` | `createConstructorStatement(AbstractASTTransformation xform, ClassNode cNode, PropertyNode pNode, Parameter namedArgsMap)`
    `` | `public Statement` | `createPropGetter(PropertyNode pNode)`
    `` | `public Statement` | `createPropInit(AbstractASTTransformation xform, AnnotationNode anno, ClassNode cNode, PropertyNode pNode, Parameter namedArgsMap)`
    `` | `public Statement` | `createPropSetter(PropertyNode pNode)`
    `` | `public boolean` | `validateAttributes(AbstractASTTransformation xform, AnnotationNode anno)`
    `` | `public boolean` | `validateProperties(AbstractASTTransformation xform, BlockStatement body, ClassNode cNode, List<PropertyNode> props)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class PropertyHandler` | `createPropGetter, createPropInit, createPropSetter, createPropertyHandler, isValidAttribute, validateAttributes, validateProperties`

- - ### Method Detail

    - #### protected Statement checkFinalArgNotOverridden(ClassNode cNode, FieldNode fNode)

    - #### protected Expression cloneCollectionExpr(Expression fieldExpr, ClassNode type)

    - #### protected Expression createAsImmutableX(Expression expr, ClassNode type)

    - #### protected Statement createConstructorStatement(AbstractASTTransformation xform, ClassNode cNode, PropertyNode pNode, Parameter namedArgsMap)

    - #### @Override
      public Statement createPropGetter(PropertyNode pNode)

    - #### @Override
      public Statement createPropInit(AbstractASTTransformation xform, AnnotationNode anno, ClassNode cNode, PropertyNode pNode, Parameter namedArgsMap)

    - #### @Override
      public Statement createPropSetter(PropertyNode pNode)

    - #### @Override
      public boolean validateAttributes(AbstractASTTransformation xform, AnnotationNode anno)

    - #### @Override
      public boolean validateProperties(AbstractASTTransformation xform, BlockStatement body, ClassNode cNode, List<PropertyNode> props)