Package: org.apache.groovy.ast.tools

## [Java] Class ImmutablePropertyUtils

- org.apache.groovy.ast.tools.ImmutablePropertyUtils

-     public class ImmutablePropertyUtils
      extends Object

- - ### Field Summary

    Fields
    Modifiers | Name | Description
    --- | --- | ---
    `static ClassNode` | `IMMUTABLE_OPTIONS_TYPE` |

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public static boolean` | `builtinOrMarkedImmutableClass(Class<?> clazz)`
    `` | `public static Expression` | `cloneArrayOrCloneableExpr(Expression expr, ClassNode type)`
    `` | `public static Expression` | `cloneDateExpr(Expression origDate)`
    `` | `public static String` | `createErrorMessage(String className, String fieldName, String typeName, String mode)`
    `` | `public static boolean` | `derivesFromDate(ClassNode fieldType)`
    `` | `public static List<String>` | `getKnownImmutableClasses(AbstractASTTransformation xform, ClassNode cNode)`
    `` | `public static List<String>` | `getKnownImmutables(AbstractASTTransformation xform, ClassNode cNode)`
    `` | `public static boolean` | `implementsCloneable(ClassNode fieldType)`
    `` | `public static boolean` | `isBuiltinImmutable(String typeName)`
    `` | `public static boolean` | `isKnownImmutableType(ClassNode fieldType, List<String> knownImmutableClasses)`
    `` | `public void` | `visit(GroovyCodeVisitor visitor)`
    `` | `public void` | `visit(org.objectweb.asm.MethodVisitor mv)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Object` | `wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll`

- - ### Field Detail

    - #### public static final ClassNode IMMUTABLE_OPTIONS_TYPE

  - ### Method Detail

    - #### public static boolean builtinOrMarkedImmutableClass(Class<?> clazz)

    - #### public static Expression cloneArrayOrCloneableExpr(Expression expr, ClassNode type)

    - #### public static Expression cloneDateExpr(Expression origDate)

    - #### public static String createErrorMessage(String className, String fieldName, String typeName, String mode)

    - #### public static boolean derivesFromDate(ClassNode fieldType)

    - #### public static List<String> getKnownImmutableClasses(AbstractASTTransformation xform, ClassNode cNode)

    - #### public static List<String> getKnownImmutables(AbstractASTTransformation xform, ClassNode cNode)

    - #### public static boolean implementsCloneable(ClassNode fieldType)

    - #### public static boolean isBuiltinImmutable(String typeName)

    - #### public static boolean isKnownImmutableType(ClassNode fieldType, List<String> knownImmutableClasses)

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

    - #### @Override
      public void visit(org.objectweb.asm.MethodVisitor mv)