diff options
-rw-r--r-- | api/current.txt | 2 | ||||
-rw-r--r-- | api/system-current.txt | 2 | ||||
-rw-r--r-- | api/test-current.txt | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/api/current.txt b/api/current.txt index fc08523afff7..125e11311b20 100644 --- a/api/current.txt +++ b/api/current.txt @@ -52022,7 +52022,7 @@ package java.lang.reflect { } public final class Parameter implements java.lang.reflect.AnnotatedElement { - method public T getAnnotation(java.lang.Class<T>); + method public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T>); method public java.lang.annotation.Annotation[] getAnnotations(); method public java.lang.annotation.Annotation[] getDeclaredAnnotations(); method public java.lang.reflect.Executable getDeclaringExecutable(); diff --git a/api/system-current.txt b/api/system-current.txt index 497bf586fef9..6dc2bcf5d9e1 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -55379,7 +55379,7 @@ package java.lang.reflect { } public final class Parameter implements java.lang.reflect.AnnotatedElement { - method public T getAnnotation(java.lang.Class<T>); + method public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T>); method public java.lang.annotation.Annotation[] getAnnotations(); method public java.lang.annotation.Annotation[] getDeclaredAnnotations(); method public java.lang.reflect.Executable getDeclaringExecutable(); diff --git a/api/test-current.txt b/api/test-current.txt index 16feecd7de1a..941790e11c01 100644 --- a/api/test-current.txt +++ b/api/test-current.txt @@ -52102,7 +52102,7 @@ package java.lang.reflect { } public final class Parameter implements java.lang.reflect.AnnotatedElement { - method public T getAnnotation(java.lang.Class<T>); + method public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T>); method public java.lang.annotation.Annotation[] getAnnotations(); method public java.lang.annotation.Annotation[] getDeclaredAnnotations(); method public java.lang.reflect.Executable getDeclaringExecutable(); |