Class ClassInformationAnnotation

    • Field Detail

      • INTERNAL_METADATA_PACKAGE

        public static final String INTERNAL_METADATA_PACKAGE
        Classes from this packages contain information that is handled internally by the runtime and must not be exposed in the extension model.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ClassInformationAnnotation

        public ClassInformationAnnotation​(String classname,
                                          boolean hasDefaultConstructor,
                                          boolean isInterface,
                                          boolean isInstantiable,
                                          boolean isAbstract,
                                          boolean isFinal,
                                          List<String> implementedInterfaces,
                                          String parent,
                                          List<String> genericTypes,
                                          boolean isMap)
      • ClassInformationAnnotation

        public ClassInformationAnnotation​(Class<?> clazz)
      • ClassInformationAnnotation

        public ClassInformationAnnotation​(Class<?> clazz,
                                          List<Type> genericTypes)
    • Method Detail

      • getName

        public static String getName​(Class<?> clazz)
        to correct getName()
        Parameters:
        clazz -
        Returns:
      • serializationCopy

        public TypeAnnotation serializationCopy()
        Create a copy of this object but removing all the internal java classes from the implemented interfaces list.
        Specified by:
        serializationCopy in interface CustomCopySerialization
        Returns:
        a copy of this object.
      • getClassname

        public String getClassname()
      • isInstantiable

        public boolean isInstantiable()
      • getGenericTypes

        public List<String> getGenericTypes()
      • isInterface

        public boolean isInterface()
      • isFinal

        public boolean isFinal()
      • isAbstract

        public boolean isAbstract()
      • isMap

        public boolean isMap()
      • getImplementedInterfaces

        public List<String> getImplementedInterfaces()
      • hasDefaultConstructor

        public boolean hasDefaultConstructor()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object