Enum NavigationParticipant.TargetKind
- java.lang.Object
-
- java.lang.Enum<NavigationParticipant.TargetKind>
-
- org.jetbrains.mps.openapi.persistence.NavigationParticipant.TargetKind
-
- All Implemented Interfaces:
Serializable
,Comparable<NavigationParticipant.TargetKind>
- Enclosing interface:
- NavigationParticipant
public static enum NavigationParticipant.TargetKind extends Enum<NavigationParticipant.TargetKind>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NavigationParticipant.TargetKind
valueOf(String name)
Returns the enum constant of this type with the specified name.static NavigationParticipant.TargetKind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ROOT
public static final NavigationParticipant.TargetKind ROOT
-
SYMBOL
public static final NavigationParticipant.TargetKind SYMBOL
-
-
Method Detail
-
values
public static NavigationParticipant.TargetKind[] 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 (NavigationParticipant.TargetKind c : NavigationParticipant.TargetKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NavigationParticipant.TargetKind valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-