public T getEnumByOrdinal(int ordinal) {
		return values[ordinal];
	}
Returns the Enum instance that corresponds to the specified ordinal value.

@param ordinal integer that corresponds to an Enum.
@return Enum
Ghidra/Framework/Docking/src/main/java/ghidra/docking/settings/JavaEnumSettingsDefinition.java