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