private static < E extends Enum < E > > E [ ] getUniverse ( Class < E > elementType ) { // Android-changed: Use JavaLangAccess directly instead of going via // SharedSecrets. return java . lang . JavaLangAccess . getEnumConstantsShared ( elementType ) ; }
Returns all of the values comprising E . The result is uncloned cached and shared by all callers .