Interface JAnnotatable

    • Method Detail

      • annotate

        JAnnotation annotate​(java.lang.String type)
        Add an annotation.
        Parameters:
        type - the type of the annotation to add
        Returns:
        the new annotation
      • annotate

        JAnnotation annotate​(JType type)
        Add an annotation.
        Parameters:
        type - the type of the annotation to add
        Returns:
        the new annotation
      • annotate

        JAnnotation annotate​(java.lang.Class<? extends java.lang.annotation.Annotation> type)
        Add an annotation.
        Parameters:
        type - the type of the annotation to add
        Returns:
        the new annotation