Class AnnotatedBaseDescr

    • Constructor Detail

      • AnnotatedBaseDescr

        public AnnotatedBaseDescr()
    • Method Detail

      • readExternal

        public void readExternal​(java.io.ObjectInput in)
                          throws java.io.IOException,
                                 java.lang.ClassNotFoundException
        Specified by:
        readExternal in interface java.io.Externalizable
        Overrides:
        readExternal in class BaseDescr
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException
      • writeExternal

        public void writeExternal​(java.io.ObjectOutput out)
                           throws java.io.IOException
        Specified by:
        writeExternal in interface java.io.Externalizable
        Overrides:
        writeExternal in class BaseDescr
        Throws:
        java.io.IOException
      • addAnnotation

        public AnnotationDescr addAnnotation​(AnnotationDescr annotation)
        Assigns a new annotation to this type
        Parameters:
        annotation -
        Returns:
        returns the previous value of this annotation
      • addAnnotation

        public AnnotationDescr addAnnotation​(java.lang.String name,
                                             java.lang.String value)
        Assigns a new annotation to this type with the respective name and value
        Parameters:
        name -
        value -
        Returns:
        returns the previous value of this annotation
      • getAnnotation

        public AnnotationDescr getAnnotation​(java.lang.String name)
        Returns the annotation with the given name
        Parameters:
        name -
      • getAnnotation

        public AnnotationDescr getAnnotation​(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
      • hasAnnotation

        public boolean hasAnnotation​(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
      • hasAnnotation

        public boolean hasAnnotation​(java.lang.String name)
      • getAnnotationNames

        public java.util.Set<java.lang.String> getAnnotationNames()
        Returns the set of annotation names for this type
        Returns:
      • getAnnotations

        public java.util.Collection<AnnotationDescr> getAnnotations()
      • indexByFQN

        public void indexByFQN​(boolean isStrict)