< prev index next >
src/java.base/share/classes/java/lang/reflect/Method.java
Print this page
*** 687,704 ****
--- 687,706 ----
/**
* {@inheritDoc}
* @throws NullPointerException {@inheritDoc}
* @since 1.5
*/
+ @Override
public <T extends Annotation> T getAnnotation(Class<T> annotationClass) {
return super.getAnnotation(annotationClass);
}
/**
* {@inheritDoc}
* @since 1.5
*/
+ @Override
public Annotation[] getDeclaredAnnotations() {
return super.getDeclaredAnnotations();
}
/**
< prev index next >