Enum AnnotationDescription.RenderingDispatcher

java.lang.Object
java.lang.Enum<AnnotationDescription.RenderingDispatcher>
net.bytebuddy.description.annotation.AnnotationDescription.RenderingDispatcher
All Implemented Interfaces:
Serializable, Comparable<AnnotationDescription.RenderingDispatcher>, java.lang.constant.Constable
Enclosing interface:
AnnotationDescription

public static enum AnnotationDescription.RenderingDispatcher extends Enum<AnnotationDescription.RenderingDispatcher>
A rendering dispatcher is responsible for resolving annotation descriptions to String representations.
  • Enum Constant Details

  • Field Details

  • Constructor Details

    • RenderingDispatcher

      private RenderingDispatcher()
  • Method Details

    • values

      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static AnnotationDescription.RenderingDispatcher valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • appendPrefix

      public void appendPrefix(StringBuilder toString, String key, int count)
      Appends the key property prefix to a string builder representing an annotation's string representation.
      Parameters:
      toString - The string builder that creates the string representation.
      key - The key's name.
      count - The property count.
    • appendType

      public void appendType(StringBuilder toString, TypeDescription typeDescription)
      Appends the type name of the annotation being rendered.
      Parameters:
      toString - The string builder that creates the string representation.
      typeDescription - The annotation type being rendered.