public final List<Enum> getEnumConstants() { if (isEnum()) { return _enumConstants != null ? _enumConstants : Collections.<Enum>emptyList(); } throw Error.notEnumType(this); }