public enum AnnotationPosition extends Enum<AnnotationPosition>
| Enum Constant and Description |
|---|
Inline
The node annotation is displayed on the same line as the node text, e.g.
|
NextLine
The node annotation is positioned in a new line following the node text.
|
| Modifier and Type | Method and Description |
|---|---|
static AnnotationPosition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnnotationPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnnotationPosition Inline
node text (annotation).public static final AnnotationPosition NextLine
public static AnnotationPosition 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 static AnnotationPosition[] values()
for (AnnotationPosition c : AnnotationPosition.values()) System.out.println(c);