public static DataType toDataType() {
		EnumDataType enumDataType = new EnumDataType("bind_opcode", 1);
		enumDataType.setCategoryPath(new CategoryPath(MachConstants.DATA_TYPE_CATEGORY));
		for (BindOpcode bindOpcode : BindOpcode.values()) {
			enumDataType.add(bindOpcode.toString(), bindOpcode.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/BindOpcode.java