Package ghidra.program.model.data
Enum DataTypeConflictHandler.ConflictResult
- java.lang.Object
-
- java.lang.Enum<DataTypeConflictHandler.ConflictResult>
-
- ghidra.program.model.data.DataTypeConflictHandler.ConflictResult
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DataTypeConflictHandler.ConflictResult>
- Enclosing class:
- DataTypeConflictHandler
public static enum DataTypeConflictHandler.ConflictResult extends java.lang.Enum<DataTypeConflictHandler.ConflictResult>
ConflictResult
indicates the resolution which should be applied to a specific conflict
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RENAME_AND_ADD
REPLACE_EXISTING
USE_EXISTING
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataTypeConflictHandler.ConflictResult
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DataTypeConflictHandler.ConflictResult[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RENAME_AND_ADD
public static final DataTypeConflictHandler.ConflictResult RENAME_AND_ADD
-
USE_EXISTING
public static final DataTypeConflictHandler.ConflictResult USE_EXISTING
-
REPLACE_EXISTING
public static final DataTypeConflictHandler.ConflictResult REPLACE_EXISTING
-
-
Method Detail
-
values
public static DataTypeConflictHandler.ConflictResult[] 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 (DataTypeConflictHandler.ConflictResult c : DataTypeConflictHandler.ConflictResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataTypeConflictHandler.ConflictResult 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
-
-