Enum AnnotationDescription.RenderingDispatcher

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      JAVA_14_CAPABLE_VM
      A rendering dispatcher for Java 14 onward.
      LEGACY_VM
      A rendering dispatcher for any VM previous to Java 14.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private RenderingDispatcher()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void appendPrefix​(java.lang.StringBuilder toString, java.lang.String key, int count)
      Appends the key property prefix to a string builder representing an annotation's string representation.
      static AnnotationDescription.RenderingDispatcher valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static AnnotationDescription.RenderingDispatcher[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • RenderingDispatcher

        private RenderingDispatcher()
    • Method Detail

      • values

        public static AnnotationDescription.RenderingDispatcher[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (AnnotationDescription.RenderingDispatcher c : AnnotationDescription.RenderingDispatcher.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AnnotationDescription.RenderingDispatcher valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • appendPrefix

        public void appendPrefix​(java.lang.StringBuilder toString,
                                 java.lang.String key,
                                 int count)
        Appends the key property prefix to a string builder representing an annotation's string representation.
        Parameters:
        toString - The Object.toString() representation of the annotation being handled.
        key - The key's name.
        count - The property count.