public static enum AnnotationDescription.RenderingDispatcher extends Enum<AnnotationDescription.RenderingDispatcher>
String
representations.Enum Constant and Description |
---|
JAVA_14_CAPABLE_VM
A rendering dispatcher for Java 14 onward.
|
LEGACY_VM
A rendering dispatcher for any VM previous to Java 14.
|
Modifier and Type | Field and Description |
---|---|
static AnnotationDescription.RenderingDispatcher |
CURRENT
The rendering dispatcher for the current VM.
|
Modifier and Type | Method and Description |
---|---|
void |
appendPrefix(StringBuilder toString,
String key,
int count)
Appends the key property prefix to a string builder representing an annotation's string representation.
|
static AnnotationDescription.RenderingDispatcher |
valueOf(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.
|
public static final AnnotationDescription.RenderingDispatcher LEGACY_VM
public static final AnnotationDescription.RenderingDispatcher JAVA_14_CAPABLE_VM
public static final AnnotationDescription.RenderingDispatcher CURRENT
public static AnnotationDescription.RenderingDispatcher[] values()
for (AnnotationDescription.RenderingDispatcher c : AnnotationDescription.RenderingDispatcher.values()) System.out.println(c);
public static AnnotationDescription.RenderingDispatcher valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic void appendPrefix(StringBuilder toString, String key, int count)
toString
- The Object.toString()
representation of the annotation being handled.key
- The key's name.count
- The property count.Copyright © 2014–2022. All rights reserved.