< prev index next >

src/java.base/share/classes/java/lang/reflect/Constructor.java

Print this page

        

@@ -208,11 +208,12 @@
     byte[] getAnnotationBytes() {
         return annotations;
     }
 
     /**
-     * Returns the {@code Class} object representing the class that
+     * Returns the {@code Class} object representing
+     * {@linkplain Class#asBoxType() the box type} of the class that
      * declares the constructor represented by this object.
      */
     @Override
     public Class<T> getDeclaringClass() {
         return clazz;
< prev index next >