public static DataType toDataType() {
		EnumDataType enumDataType = new EnumDataType("rebase_opcode", 1);
		enumDataType.setCategoryPath(new CategoryPath(MachConstants.DATA_TYPE_CATEGORY));
		for (RebaseOpcode rebaseOpcode : RebaseOpcode.values()) {
			enumDataType.add(rebaseOpcode.toString(), rebaseOpcode.getOpcode());
		}
		return enumDataType;
	}
{@return a new data type from this enum}
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/macho/commands/dyld/RebaseOpcode.java