public class ImmutablePropertyUtils extends Object
Modifiers | Name | Description |
---|---|---|
static ClassNode |
IMMUTABLE_OPTIONS_TYPE |
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) |