Class Annotated

    • Constructor Detail

      • Annotated

        public Annotated()
    • Method Detail

      • addAnnotation

        public void addAnnotation​(Annotation annotation)
        Adds the given Annotation to this Annotated Structure.
        Parameters:
        annotation - the Annotation to add
      • getAnnotations

        public java.util.Enumeration<Annotation> getAnnotations()
        Returns an Enumeration of the Annotations contained within this Annotated type.
        Returns:
        an Enumeration of the Annotation contained within this Annotated type
      • removeAnnotation

        public void removeAnnotation​(Annotation annotation)
        Removes the given Annotation from this Annotated Structure.
        Parameters:
        annotation - the Annotation to remove