public enum LineCommentPosition extends Enum<LineCommentPosition>
| Modifier and Type | Method and Description |
|---|---|
String |
getPosition() |
static LineCommentPosition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LineCommentPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LineCommentPosition ABOVE
public static final LineCommentPosition BESIDE
public static LineCommentPosition[] values()
for (LineCommentPosition c : LineCommentPosition.values()) System.out.println(c);
public static LineCommentPosition 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 String getPosition()
Copyright © 2023 The Apache Software Foundation. All rights reserved.