Class PlainTextAnnotation

java.lang.Object
org.apache.juneau.plaintext.annotation.PlainTextAnnotation

public class PlainTextAnnotation extends Object
Utility classes and methods for the @PlainText annotation.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • create

      Instantiates a new builder for this class.
      Returns:
      A new builder object.
    • create

      public static PlainTextAnnotation.Builder create(Class<?>... on)
      Instantiates a new builder for this class.
      Parameters:
      on - The targets this annotation applies to.
      Returns:
      A new builder object.
    • create

      public static PlainTextAnnotation.Builder create(String... on)
      Instantiates a new builder for this class.
      Parameters:
      on - The targets this annotation applies to.
      Returns:
      A new builder object.
    • copy

      public static PlainText copy(PlainText a, VarResolverSession r)
      Creates a copy of the specified annotation.
      Parameters:
      a - The annotation to copy.s
      r - The var resolver for resolving any variables.
      Returns:
      A copy of the specified annotation.