< prev index next >

src/java.base/share/classes/jdk/internal/misc/JavaLangAccess.java

Print this page

        

@@ -33,10 +33,11 @@
 import java.security.AccessControlContext;
 import java.security.ProtectionDomain;
 import java.util.Iterator;
 import java.util.List;
 import java.util.Map;
+import java.util.Set;
 import java.util.concurrent.ConcurrentHashMap;
 import java.util.stream.Stream;
 
 import jdk.internal.module.ServicesCatalog;
 import jdk.internal.reflect.ConstantPool;

@@ -271,6 +272,12 @@
      * @param s the string to encode
      * @return the encoded bytes in utf8
      * @throws IllegalArgumentException for malformed surrogates
      */
     byte[] getBytesUTF8NoRepl(String s);
+
+    /**
+     * Returns the names listed in {@code "ValueTypes"} attribute
+     * of the current class.
+     */
+    Set<String> getDeclaredValueTypeNames(Class<?> current);
 }
< prev index next >