< prev index next >

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

Print this page

        

*** 183,193 **** void checkCanSetAccessible(Class<?> caller) { checkCanSetAccessible(caller, clazz); } /** ! * Returns the {@code Class} object representing the class or interface * that declares the field represented by this {@code Field} object. */ @Override public Class<?> getDeclaringClass() { return clazz; --- 183,194 ---- void checkCanSetAccessible(Class<?> caller) { checkCanSetAccessible(caller, clazz); } /** ! * 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 >