public final static String getLoadCommandName(int type) {
		for (Field field : LoadCommandTypes.class.getDeclaredFields()) {
			if (!field.getName().startsWith("LC_")) {
				continue;
			}
			try {
				Integer value = (Integer) field.get(null);
				if (type == value) {
					return field.getName();
				}
			}
			catch (Exception e) {
				break;
			}
		}
		return "LC_UNKNOWN_%X".formatted(type);
	}
Gets the name of the given load command type

@param type The load command type
@return The name of the given load command type
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/macho/commands/LoadCommandTypes.java