From 3ead539c0129e6dd82df301e2652f1c0524a3b82 Mon Sep 17 00:00:00 2001 From: Neil Fuller Date: Tue, 6 Sep 2016 19:04:18 +0100 Subject: [PATCH] Tracking unhiding of java.lang.reflect.Parameter APIs Bug: 28666126 Change-Id: I37926f8f221dca7e99ffd233a0990fcfa4d56040 --- api/current.txt | 16 ++++++++++++++++ api/system-current.txt | 16 ++++++++++++++++ api/test-current.txt | 16 ++++++++++++++++ 3 files changed, 48 insertions(+) diff --git a/api/current.txt b/api/current.txt index e779e9bcde4b6..4740ecb8af756 100644 --- a/api/current.txt +++ b/api/current.txt @@ -51896,6 +51896,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(); @@ -52019,6 +52020,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 a4477f3e0dda6..abe4c4631c003 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -55252,6 +55252,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(); @@ -55375,6 +55376,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 b3572ba7e821a..3491fb3e53a49 100644 --- a/api/test-current.txt +++ b/api/test-current.txt @@ -51976,6 +51976,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(); @@ -52099,6 +52100,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();