Package ghidra.program.model.listing
Enum LabelString.LabelType
- java.lang.Object
-
- java.lang.Enum<LabelString.LabelType>
-
- ghidra.program.model.listing.LabelString.LabelType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LabelString.LabelType>
- Enclosing class:
- LabelString
public static enum LabelString.LabelType extends java.lang.Enum<LabelString.LabelType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CODE_LABEL
EXTERNAL
VARIABLE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LabelString.LabelType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LabelString.LabelType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CODE_LABEL
public static final LabelString.LabelType CODE_LABEL
-
VARIABLE
public static final LabelString.LabelType VARIABLE
-
EXTERNAL
public static final LabelString.LabelType EXTERNAL
-
-
Method Detail
-
values
public static LabelString.LabelType[] 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 (LabelString.LabelType c : LabelString.LabelType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LabelString.LabelType 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
-
-