code: private static Enum<?>[] _enumValues(Class<?> enumClass) throws SecurityException, NoSuchMethodException, 
  		IllegalArgumentException, IllegalAccessException, InvocationTargetException {
  		Method m = enumClass.getMethod("values");
  		return (Enum<?>[]) m.invoke((Object) null);
  	}
docs: TODO cache