For IntelliJ IDEA,
Android Studio or Eclipse



@JTranscAsync public T[] getEnumConstants() { T[] values = getEnumConstantsShared(); if (values == null) { System.out.println("Class " + this + " is not an enum (" + isEnum() + ")!"); try { final Method valuesMethod = getMethod("values"); System.out.println("values method:" + valuesMethod); } catch (NoSuchMethodException e) { throw new Error(e); } } return (values != null) ? values.clone() : null; }