< prev index next >

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

Print this page
@@ -535,6 +535,40 @@
       * Creates a new StackWalker
       */
      StackWalker newStackWalkerInstance(Set<StackWalker.Option> options,
                                         ContinuationScope contScope,
                                         Continuation continuation);
+ 
+     /**
+      * {@return the primary class for a primitive class}
+      *
+      * @param klass a class
+      */
+     Class<?> asPrimaryType(Class<?> klass);
+ 
+     /**
+      * {@return the value type of a primitive class}
+      *
+      * @param klass a class
+      */
+     Class<?> asValueType(Class<?> klass);
+ 
+     /**
+      * {@return true if the class is the primary type of a primitive class}
+      *
+      * @param klass a class
+      */
+     boolean isPrimaryType(Class<?> klass);
+ 
+     /**
+      * {@return true if the class is the primary type of a primitive class}
+      *
+      * @param klass a class
+      */
+     boolean isPrimitiveValueType(Class<?> klass);
+ 
+     /**
+      * Returns {@code true} if this class is a primitive class.
+      */
+     boolean isPrimitiveClass(Class<?> klass);
+ 
  }
< prev index next >