< prev index next >

src/java.base/share/classes/java/lang/invoke/TypeDescriptor.java

Print this page
rev 52981 : 8215300: additional changes to constants API

@@ -59,11 +59,12 @@
          * @return whether this field descriptor describes an array type
          */
         boolean isArray();
 
         /**
-         * Does this field descriptor describe a primitive type?
+         * Does this field descriptor describe a primitive type (including void.)
+         *
          * @return whether this field descriptor describes a primitive type
          */
         boolean isPrimitive();
 
         /**
< prev index next >