Class GeneratedAnnotationTarget

java.lang.Object
eu.bandm.tools.metajava.GeneratedAnnotationTarget
Direct Known Subclasses:
GeneratedAnnotatedType, GeneratedDeclaration, GeneratedPackage, GeneratedParameter

public abstract class GeneratedAnnotationTarget extends Object
  • Constructor Details

    • GeneratedAnnotationTarget

      public GeneratedAnnotationTarget()
  • Method Details

    • getAnnotations

      public final List<GeneratedAnnotation> getAnnotations()
    • addAnnotation

      public final void addAnnotation(Class<? extends Annotation> annotation)
    • addAnnotation

      public final void addAnnotation(MetaClass annotation)
    • addAnnotation

      public final void addAnnotation(GeneratedAnnotation annotation)
    • addComment

      public void addComment(Format comment)
      Add a format of the contents of a future doc comment.
    • getRawComments

      public List<Format> getRawComments()
    • getComments

      public Format getComments()
      Return all accumulated comment formats wrapped into the Java syntay for API comments. Or an empty format, if not such comments exist.
    • hasMetadata

      public final boolean hasMetadata()