diff --git a/api/current.txt b/api/current.txt index d657030cf5c68..92160401cae0e 100644 --- a/api/current.txt +++ b/api/current.txt @@ -52085,6 +52085,7 @@ package java.lang.reflect { method public abstract java.lang.annotation.Annotation[][] getParameterAnnotations(); method public int getParameterCount(); method public abstract java.lang.Class[] getParameterTypes(); + method public java.lang.reflect.Parameter[] getParameters(); method public abstract java.lang.reflect.TypeVariable[] getTypeParameters(); method public boolean isSynthetic(); method public boolean isVarArgs(); @@ -52208,6 +52209,21 @@ package java.lang.reflect { field public static final int VOLATILE = 64; // 0x40 } + public final class Parameter implements java.lang.reflect.AnnotatedElement { + method public T getAnnotation(java.lang.Class); + method public java.lang.annotation.Annotation[] getAnnotations(); + method public java.lang.annotation.Annotation[] getDeclaredAnnotations(); + method public java.lang.reflect.Executable getDeclaringExecutable(); + method public int getModifiers(); + method public java.lang.String getName(); + method public java.lang.reflect.Type getParameterizedType(); + method public java.lang.Class getType(); + method public boolean isImplicit(); + method public boolean isNamePresent(); + method public boolean isSynthetic(); + method public boolean isVarArgs(); + } + public abstract interface ParameterizedType implements java.lang.reflect.Type { method public abstract java.lang.reflect.Type[] getActualTypeArguments(); method public abstract java.lang.reflect.Type getOwnerType(); diff --git a/api/system-current.txt b/api/system-current.txt index 838f46edcea0e..f3041f744e830 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -55619,6 +55619,7 @@ package java.lang.reflect { method public abstract java.lang.annotation.Annotation[][] getParameterAnnotations(); method public int getParameterCount(); method public abstract java.lang.Class[] getParameterTypes(); + method public java.lang.reflect.Parameter[] getParameters(); method public abstract java.lang.reflect.TypeVariable[] getTypeParameters(); method public boolean isSynthetic(); method public boolean isVarArgs(); @@ -55742,6 +55743,21 @@ package java.lang.reflect { field public static final int VOLATILE = 64; // 0x40 } + public final class Parameter implements java.lang.reflect.AnnotatedElement { + method public T getAnnotation(java.lang.Class); + method public java.lang.annotation.Annotation[] getAnnotations(); + method public java.lang.annotation.Annotation[] getDeclaredAnnotations(); + method public java.lang.reflect.Executable getDeclaringExecutable(); + method public int getModifiers(); + method public java.lang.String getName(); + method public java.lang.reflect.Type getParameterizedType(); + method public java.lang.Class getType(); + method public boolean isImplicit(); + method public boolean isNamePresent(); + method public boolean isSynthetic(); + method public boolean isVarArgs(); + } + public abstract interface ParameterizedType implements java.lang.reflect.Type { method public abstract java.lang.reflect.Type[] getActualTypeArguments(); method public abstract java.lang.reflect.Type getOwnerType(); diff --git a/api/test-current.txt b/api/test-current.txt index dd3e3c692308e..3db0255afa537 100644 --- a/api/test-current.txt +++ b/api/test-current.txt @@ -52169,6 +52169,7 @@ package java.lang.reflect { method public abstract java.lang.annotation.Annotation[][] getParameterAnnotations(); method public int getParameterCount(); method public abstract java.lang.Class[] getParameterTypes(); + method public java.lang.reflect.Parameter[] getParameters(); method public abstract java.lang.reflect.TypeVariable[] getTypeParameters(); method public boolean isSynthetic(); method public boolean isVarArgs(); @@ -52292,6 +52293,21 @@ package java.lang.reflect { field public static final int VOLATILE = 64; // 0x40 } + public final class Parameter implements java.lang.reflect.AnnotatedElement { + method public T getAnnotation(java.lang.Class); + method public java.lang.annotation.Annotation[] getAnnotations(); + method public java.lang.annotation.Annotation[] getDeclaredAnnotations(); + method public java.lang.reflect.Executable getDeclaringExecutable(); + method public int getModifiers(); + method public java.lang.String getName(); + method public java.lang.reflect.Type getParameterizedType(); + method public java.lang.Class getType(); + method public boolean isImplicit(); + method public boolean isNamePresent(); + method public boolean isSynthetic(); + method public boolean isVarArgs(); + } + public abstract interface ParameterizedType implements java.lang.reflect.Type { method public abstract java.lang.reflect.Type[] getActualTypeArguments(); method public abstract java.lang.reflect.Type getOwnerType();