< prev index next >
src/java.base/share/classes/java/lang/reflect/Method.java
Print this page
@@ -212,12 +212,14 @@
byte[] getAnnotationBytes() {
return annotations;
}
/**
- * 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 method represented by this object.
+ *
*/
@Override
public Class<?> getDeclaringClass() {
return clazz;
}
< prev index next >