Package ghidra.program.model.data
Enum DataTypeConflictHandler.ConflictResolutionPolicy
- java.lang.Object
-
- java.lang.Enum<DataTypeConflictHandler.ConflictResolutionPolicy>
-
- ghidra.program.model.data.DataTypeConflictHandler.ConflictResolutionPolicy
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DataTypeConflictHandler.ConflictResolutionPolicy>
- Enclosing class:
- DataTypeConflictHandler
public static enum DataTypeConflictHandler.ConflictResolutionPolicy extends java.lang.Enum<DataTypeConflictHandler.ConflictResolutionPolicy>
ConflictResolutionPolicy
indicates the conflict resolution policy which should be applied when any conflict is encountered
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RENAME_AND_ADD
REPLACE_EMPTY_STRUCTS_OR_RENAME_AND_ADD
REPLACE_EXISTING
USE_EXISTING
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract DataTypeConflictHandler
getHandler()
static DataTypeConflictHandler.ConflictResolutionPolicy
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DataTypeConflictHandler.ConflictResolutionPolicy[]
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.ConflictResolutionPolicy RENAME_AND_ADD
-
USE_EXISTING
public static final DataTypeConflictHandler.ConflictResolutionPolicy USE_EXISTING
-
REPLACE_EXISTING
public static final DataTypeConflictHandler.ConflictResolutionPolicy REPLACE_EXISTING
-
REPLACE_EMPTY_STRUCTS_OR_RENAME_AND_ADD
public static final DataTypeConflictHandler.ConflictResolutionPolicy REPLACE_EMPTY_STRUCTS_OR_RENAME_AND_ADD
-
-
Method Detail
-
values
public static DataTypeConflictHandler.ConflictResolutionPolicy[] 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.ConflictResolutionPolicy c : DataTypeConflictHandler.ConflictResolutionPolicy.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.ConflictResolutionPolicy 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
-
getHandler
public abstract DataTypeConflictHandler getHandler()
-
-