< prev index next >
src/java.base/share/classes/java/lang/reflect/Constructor.java
Print this page
*** 208,218 ****
byte[] getAnnotationBytes() {
return annotations;
}
/**
! * Returns the {@code Class} object representing the class that
* declares the constructor represented by this object.
*/
@Override
public Class<T> getDeclaringClass() {
return clazz;
--- 208,219 ----
byte[] getAnnotationBytes() {
return annotations;
}
/**
! * 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 >