| Modifier and Type | Field and Description |
|---|---|
| private static final Set | |
| private static final Set | BUILTIN_IMMUTABLES
Currently leaving BigInteger and BigDecimal in list but see: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6348370 Also, Color is not final so while not normally used with child classes, it isn't strictly immutable. |
| private static final ClassNode | |
| private static final ClassNode | |
| public static final ClassNode | |
| private static final String | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static boolean | |
| public static boolean | |
| public static Expression | |
| public static Expression | |
| public static String | |
| public static boolean | |
| public static List | |
| public static List | |
| private static boolean | |
| private static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| private static boolean | |
| private static String |
| BUILTIN_IMMUTABLE_ANNOTATIONS | back to summary |
|---|---|
| private static final Set<String> BUILTIN_IMMUTABLE_ANNOTATIONS | |
| BUILTIN_IMMUTABLES | back to summary |
|---|---|
| private static final Set<String> BUILTIN_IMMUTABLES Currently leaving BigInteger and BigDecimal in list but see: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6348370 Also, Color is not final so while not normally used with child classes, it isn't strictly immutable. Use at your own risk. This list can by extended by providing "known immutable" classes via Immutable.knownImmutableClasses | |
| CLONEABLE_TYPE | back to summary |
|---|---|
| private static final ClassNode CLONEABLE_TYPE | |
| DATE_TYPE | back to summary |
|---|---|
| private static final ClassNode DATE_TYPE | |
| IMMUTABLE_OPTIONS_TYPE | back to summary |
|---|---|
| public static final ClassNode IMMUTABLE_OPTIONS_TYPE | |
| MEMBER_KNOWN_IMMUTABLE_CLASSES | back to summary |
|---|---|
| private static final String MEMBER_KNOWN_IMMUTABLE_CLASSES | |
| MEMBER_KNOWN_IMMUTABLES | back to summary |
|---|---|
| private static final String MEMBER_KNOWN_IMMUTABLES | |
| ImmutablePropertyUtils | back to summary |
|---|---|
| private ImmutablePropertyUtils() | |
| builtinOrDeemedType | back to summary |
|---|---|
| private static boolean builtinOrDeemedType(ClassNode fieldType, List<String> knownImmutableClasses) | |
| builtinOrMarkedImmutableClass | back to summary |
|---|---|
| public static boolean builtinOrMarkedImmutableClass(Class<?> clazz) | |
| cloneArrayOrCloneableExpr | back to summary |
|---|---|
| public static Expression cloneArrayOrCloneableExpr(final Expression expr, final ClassNode type) | |
| cloneDateExpr | back to summary |
|---|---|
| public static Expression cloneDateExpr(Expression origDate) | |
| createErrorMessage | back to summary |
|---|---|
| public static String createErrorMessage(String className, String fieldName, String typeName, String mode) | |
| derivesFromDate | back to summary |
|---|---|
| public static boolean derivesFromDate(ClassNode fieldType) | |
| getKnownImmutableClasses | back to summary |
|---|---|
| public static List | |
| getKnownImmutables | back to summary |
|---|---|
| public static List | |
| hasImmutableAnnotation | back to summary |
|---|---|
| private static boolean hasImmutableAnnotation(ClassNode type) | |
| hasImmutableAnnotation | back to summary |
|---|---|
| private static boolean hasImmutableAnnotation(Class<T> clazz) | |
| implementsCloneable | back to summary |
|---|---|
| public static boolean implementsCloneable(ClassNode fieldType) | |
| isBuiltinImmutable | back to summary |
|---|---|
| public static boolean isBuiltinImmutable(String typeName) | |
| isKnownImmutableType | back to summary |
|---|---|
| public static boolean isKnownImmutableType(ClassNode fieldType, List<String> knownImmutableClasses) | |
| matchingImmutableMarkerName | back to summary |
|---|---|
| private static boolean matchingImmutableMarkerName(String name) | |
| prettyTypeName | back to summary |
|---|---|
| private static String prettyTypeName(String name) | |