< prev index next >

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

Print this page

        

@@ -183,11 +183,12 @@
     void checkCanSetAccessible(Class<?> caller) {
         checkCanSetAccessible(caller, clazz);
     }
 
     /**
-     * Returns the {@code Class} object representing the class or interface
+     * Returns the {@code Class} object representing
+     * {@linkplain Class#asBoxType() the box type} of the class or interface
      * that declares the field represented by this {@code Field} object.
      */
     @Override
     public Class<?> getDeclaringClass() {
         return clazz;
< prev index next >