Class ImmutablePropertyUtils


  • public class ImmutablePropertyUtils
    extends java.lang.Object
    • Field Detail

      • IMMUTABLE_OPTIONS_TYPE

        public static final ClassNode IMMUTABLE_OPTIONS_TYPE
    • Method Detail

      • implementsCloneable

        public static boolean implementsCloneable​(ClassNode fieldType)
      • derivesFromDate

        public static boolean derivesFromDate​(ClassNode fieldType)
      • createErrorMessage

        public static java.lang.String createErrorMessage​(java.lang.String className,
                                                          java.lang.String fieldName,
                                                          java.lang.String typeName,
                                                          java.lang.String mode)
      • isKnownImmutableType

        public static boolean isKnownImmutableType​(ClassNode fieldType,
                                                   java.util.List<java.lang.String> knownImmutableClasses)
      • isBuiltinImmutable

        public static boolean isBuiltinImmutable​(java.lang.String typeName)
      • builtinOrMarkedImmutableClass

        public static boolean builtinOrMarkedImmutableClass​(java.lang.Class<?> clazz)