Enum HiddenRegionPartAssociation
- java.lang.Object
-
- java.lang.Enum<HiddenRegionPartAssociation>
-
- org.eclipse.xtext.formatting2.regionaccess.HiddenRegionPartAssociation
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<HiddenRegionPartAssociation>
public enum HiddenRegionPartAssociation extends java.lang.Enum<HiddenRegionPartAssociation>
- Since:
- 2.14
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTAINERThe whitespace or comment belongs NEITHER to the leading not trailingISemanticRegion.NEXTThe whitespace or comment belongs to the trailingISemanticRegion.PREVIOUSThe whitespace or comment belongs to the leadingISemanticRegion.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HiddenRegionPartAssociationvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static HiddenRegionPartAssociation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEXT
public static final HiddenRegionPartAssociation NEXT
The whitespace or comment belongs to the trailingISemanticRegion.
-
PREVIOUS
public static final HiddenRegionPartAssociation PREVIOUS
The whitespace or comment belongs to the leadingISemanticRegion.
-
CONTAINER
public static final HiddenRegionPartAssociation CONTAINER
The whitespace or comment belongs NEITHER to the leading not trailingISemanticRegion.
-
-
Method Detail
-
values
public static HiddenRegionPartAssociation[] 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 (HiddenRegionPartAssociation c : HiddenRegionPartAssociation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HiddenRegionPartAssociation 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 namejava.lang.NullPointerException- if the argument is null
-
-