summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--api/current.txt33
-rw-r--r--api/system-current.txt33
-rw-r--r--api/test-current.txt33
3 files changed, 57 insertions, 42 deletions
diff --git a/api/current.txt b/api/current.txt
index 7b184bf459c3..195b6403530e 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -50485,6 +50485,7 @@ package java.lang {
method public java.lang.Object[] getSigners();
method public java.lang.String getSimpleName();
method public java.lang.Class<? super T> getSuperclass();
+ method public java.lang.String getTypeName();
method public synchronized java.lang.reflect.TypeVariable<java.lang.Class<T>>[] getTypeParameters();
method public boolean isAnnotation();
method public boolean isAnonymousClass();
@@ -51866,24 +51867,34 @@ package java.lang.reflect {
method public static void setShort(java.lang.Object, int, short) throws java.lang.ArrayIndexOutOfBoundsException, java.lang.IllegalArgumentException;
}
- public final class Constructor extends java.lang.reflect.AccessibleObject implements java.lang.reflect.GenericDeclaration java.lang.reflect.Member {
- method public A getAnnotation(java.lang.Class<A>);
+ public final class Constructor extends java.lang.reflect.Executable {
method public java.lang.Class<T> getDeclaringClass();
method public java.lang.Class<?>[] getExceptionTypes();
- method public java.lang.reflect.Type[] getGenericExceptionTypes();
- method public java.lang.reflect.Type[] getGenericParameterTypes();
method public int getModifiers();
method public java.lang.String getName();
method public java.lang.annotation.Annotation[][] getParameterAnnotations();
method public java.lang.Class<?>[] getParameterTypes();
method public java.lang.reflect.TypeVariable<java.lang.reflect.Constructor<T>>[] getTypeParameters();
- method public boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation>);
- method public boolean isSynthetic();
- method public boolean isVarArgs();
method public T newInstance(java.lang.Object...) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException, java.lang.InstantiationException, java.lang.reflect.InvocationTargetException;
method public java.lang.String toGenericString();
}
+ public abstract class Executable extends java.lang.reflect.AccessibleObject implements java.lang.reflect.GenericDeclaration java.lang.reflect.Member {
+ method public abstract java.lang.Class<?> getDeclaringClass();
+ method public abstract java.lang.Class<?>[] getExceptionTypes();
+ method public java.lang.reflect.Type[] getGenericExceptionTypes();
+ method public java.lang.reflect.Type[] getGenericParameterTypes();
+ method public abstract int getModifiers();
+ method public abstract java.lang.String getName();
+ method public abstract java.lang.annotation.Annotation[][] getParameterAnnotations();
+ method public int getParameterCount();
+ method public abstract java.lang.Class<?>[] getParameterTypes();
+ method public abstract java.lang.reflect.TypeVariable<?>[] getTypeParameters();
+ method public boolean isSynthetic();
+ method public boolean isVarArgs();
+ method public abstract java.lang.String toGenericString();
+ }
+
public final class Field extends java.lang.reflect.AccessibleObject implements java.lang.reflect.Member {
method public java.lang.Object get(java.lang.Object) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException;
method public A getAnnotation(java.lang.Class<A>);
@@ -51900,7 +51911,6 @@ package java.lang.reflect {
method public java.lang.String getName();
method public short getShort(java.lang.Object) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException;
method public java.lang.Class<?> getType();
- method public boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation>);
method public boolean isEnumConstant();
method public boolean isSynthetic();
method public void set(java.lang.Object, java.lang.Object) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException;
@@ -51951,13 +51961,10 @@ package java.lang.reflect {
field public static final int PUBLIC = 0; // 0x0
}
- public final class Method extends java.lang.reflect.AccessibleObject implements java.lang.reflect.GenericDeclaration java.lang.reflect.Member {
- method public A getAnnotation(java.lang.Class<A>);
+ public final class Method extends java.lang.reflect.Executable {
method public java.lang.Class<?> getDeclaringClass();
method public java.lang.Object getDefaultValue();
method public java.lang.Class<?>[] getExceptionTypes();
- method public java.lang.reflect.Type[] getGenericExceptionTypes();
- method public java.lang.reflect.Type[] getGenericParameterTypes();
method public java.lang.reflect.Type getGenericReturnType();
method public int getModifiers();
method public java.lang.String getName();
@@ -51968,8 +51975,6 @@ package java.lang.reflect {
method public java.lang.Object invoke(java.lang.Object, java.lang.Object...) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException, java.lang.reflect.InvocationTargetException;
method public boolean isBridge();
method public boolean isDefault();
- method public boolean isSynthetic();
- method public boolean isVarArgs();
method public java.lang.String toGenericString();
}
diff --git a/api/system-current.txt b/api/system-current.txt
index 01a872a0897a..54f987aaada0 100644
--- a/api/system-current.txt
+++ b/api/system-current.txt
@@ -53841,6 +53841,7 @@ package java.lang {
method public java.lang.Object[] getSigners();
method public java.lang.String getSimpleName();
method public java.lang.Class<? super T> getSuperclass();
+ method public java.lang.String getTypeName();
method public synchronized java.lang.reflect.TypeVariable<java.lang.Class<T>>[] getTypeParameters();
method public boolean isAnnotation();
method public boolean isAnonymousClass();
@@ -55222,24 +55223,34 @@ package java.lang.reflect {
method public static void setShort(java.lang.Object, int, short) throws java.lang.ArrayIndexOutOfBoundsException, java.lang.IllegalArgumentException;
}
- public final class Constructor extends java.lang.reflect.AccessibleObject implements java.lang.reflect.GenericDeclaration java.lang.reflect.Member {
- method public A getAnnotation(java.lang.Class<A>);
+ public final class Constructor extends java.lang.reflect.Executable {
method public java.lang.Class<T> getDeclaringClass();
method public java.lang.Class<?>[] getExceptionTypes();
- method public java.lang.reflect.Type[] getGenericExceptionTypes();
- method public java.lang.reflect.Type[] getGenericParameterTypes();
method public int getModifiers();
method public java.lang.String getName();
method public java.lang.annotation.Annotation[][] getParameterAnnotations();
method public java.lang.Class<?>[] getParameterTypes();
method public java.lang.reflect.TypeVariable<java.lang.reflect.Constructor<T>>[] getTypeParameters();
- method public boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation>);
- method public boolean isSynthetic();
- method public boolean isVarArgs();
method public T newInstance(java.lang.Object...) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException, java.lang.InstantiationException, java.lang.reflect.InvocationTargetException;
method public java.lang.String toGenericString();
}
+ public abstract class Executable extends java.lang.reflect.AccessibleObject implements java.lang.reflect.GenericDeclaration java.lang.reflect.Member {
+ method public abstract java.lang.Class<?> getDeclaringClass();
+ method public abstract java.lang.Class<?>[] getExceptionTypes();
+ method public java.lang.reflect.Type[] getGenericExceptionTypes();
+ method public java.lang.reflect.Type[] getGenericParameterTypes();
+ method public abstract int getModifiers();
+ method public abstract java.lang.String getName();
+ method public abstract java.lang.annotation.Annotation[][] getParameterAnnotations();
+ method public int getParameterCount();
+ method public abstract java.lang.Class<?>[] getParameterTypes();
+ method public abstract java.lang.reflect.TypeVariable<?>[] getTypeParameters();
+ method public boolean isSynthetic();
+ method public boolean isVarArgs();
+ method public abstract java.lang.String toGenericString();
+ }
+
public final class Field extends java.lang.reflect.AccessibleObject implements java.lang.reflect.Member {
method public java.lang.Object get(java.lang.Object) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException;
method public A getAnnotation(java.lang.Class<A>);
@@ -55256,7 +55267,6 @@ package java.lang.reflect {
method public java.lang.String getName();
method public short getShort(java.lang.Object) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException;
method public java.lang.Class<?> getType();
- method public boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation>);
method public boolean isEnumConstant();
method public boolean isSynthetic();
method public void set(java.lang.Object, java.lang.Object) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException;
@@ -55307,13 +55317,10 @@ package java.lang.reflect {
field public static final int PUBLIC = 0; // 0x0
}
- public final class Method extends java.lang.reflect.AccessibleObject implements java.lang.reflect.GenericDeclaration java.lang.reflect.Member {
- method public A getAnnotation(java.lang.Class<A>);
+ public final class Method extends java.lang.reflect.Executable {
method public java.lang.Class<?> getDeclaringClass();
method public java.lang.Object getDefaultValue();
method public java.lang.Class<?>[] getExceptionTypes();
- method public java.lang.reflect.Type[] getGenericExceptionTypes();
- method public java.lang.reflect.Type[] getGenericParameterTypes();
method public java.lang.reflect.Type getGenericReturnType();
method public int getModifiers();
method public java.lang.String getName();
@@ -55324,8 +55331,6 @@ package java.lang.reflect {
method public java.lang.Object invoke(java.lang.Object, java.lang.Object...) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException, java.lang.reflect.InvocationTargetException;
method public boolean isBridge();
method public boolean isDefault();
- method public boolean isSynthetic();
- method public boolean isVarArgs();
method public java.lang.String toGenericString();
}
diff --git a/api/test-current.txt b/api/test-current.txt
index d936c2784130..d06e5cfacaa4 100644
--- a/api/test-current.txt
+++ b/api/test-current.txt
@@ -50565,6 +50565,7 @@ package java.lang {
method public java.lang.Object[] getSigners();
method public java.lang.String getSimpleName();
method public java.lang.Class<? super T> getSuperclass();
+ method public java.lang.String getTypeName();
method public synchronized java.lang.reflect.TypeVariable<java.lang.Class<T>>[] getTypeParameters();
method public boolean isAnnotation();
method public boolean isAnonymousClass();
@@ -51946,24 +51947,34 @@ package java.lang.reflect {
method public static void setShort(java.lang.Object, int, short) throws java.lang.ArrayIndexOutOfBoundsException, java.lang.IllegalArgumentException;
}
- public final class Constructor extends java.lang.reflect.AccessibleObject implements java.lang.reflect.GenericDeclaration java.lang.reflect.Member {
- method public A getAnnotation(java.lang.Class<A>);
+ public final class Constructor extends java.lang.reflect.Executable {
method public java.lang.Class<T> getDeclaringClass();
method public java.lang.Class<?>[] getExceptionTypes();
- method public java.lang.reflect.Type[] getGenericExceptionTypes();
- method public java.lang.reflect.Type[] getGenericParameterTypes();
method public int getModifiers();
method public java.lang.String getName();
method public java.lang.annotation.Annotation[][] getParameterAnnotations();
method public java.lang.Class<?>[] getParameterTypes();
method public java.lang.reflect.TypeVariable<java.lang.reflect.Constructor<T>>[] getTypeParameters();
- method public boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation>);
- method public boolean isSynthetic();
- method public boolean isVarArgs();
method public T newInstance(java.lang.Object...) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException, java.lang.InstantiationException, java.lang.reflect.InvocationTargetException;
method public java.lang.String toGenericString();
}
+ public abstract class Executable extends java.lang.reflect.AccessibleObject implements java.lang.reflect.GenericDeclaration java.lang.reflect.Member {
+ method public abstract java.lang.Class<?> getDeclaringClass();
+ method public abstract java.lang.Class<?>[] getExceptionTypes();
+ method public java.lang.reflect.Type[] getGenericExceptionTypes();
+ method public java.lang.reflect.Type[] getGenericParameterTypes();
+ method public abstract int getModifiers();
+ method public abstract java.lang.String getName();
+ method public abstract java.lang.annotation.Annotation[][] getParameterAnnotations();
+ method public int getParameterCount();
+ method public abstract java.lang.Class<?>[] getParameterTypes();
+ method public abstract java.lang.reflect.TypeVariable<?>[] getTypeParameters();
+ method public boolean isSynthetic();
+ method public boolean isVarArgs();
+ method public abstract java.lang.String toGenericString();
+ }
+
public final class Field extends java.lang.reflect.AccessibleObject implements java.lang.reflect.Member {
method public java.lang.Object get(java.lang.Object) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException;
method public A getAnnotation(java.lang.Class<A>);
@@ -51980,7 +51991,6 @@ package java.lang.reflect {
method public java.lang.String getName();
method public short getShort(java.lang.Object) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException;
method public java.lang.Class<?> getType();
- method public boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation>);
method public boolean isEnumConstant();
method public boolean isSynthetic();
method public void set(java.lang.Object, java.lang.Object) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException;
@@ -52031,13 +52041,10 @@ package java.lang.reflect {
field public static final int PUBLIC = 0; // 0x0
}
- public final class Method extends java.lang.reflect.AccessibleObject implements java.lang.reflect.GenericDeclaration java.lang.reflect.Member {
- method public A getAnnotation(java.lang.Class<A>);
+ public final class Method extends java.lang.reflect.Executable {
method public java.lang.Class<?> getDeclaringClass();
method public java.lang.Object getDefaultValue();
method public java.lang.Class<?>[] getExceptionTypes();
- method public java.lang.reflect.Type[] getGenericExceptionTypes();
- method public java.lang.reflect.Type[] getGenericParameterTypes();
method public java.lang.reflect.Type getGenericReturnType();
method public int getModifiers();
method public java.lang.String getName();
@@ -52048,8 +52055,6 @@ package java.lang.reflect {
method public java.lang.Object invoke(java.lang.Object, java.lang.Object...) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException, java.lang.reflect.InvocationTargetException;
method public boolean isBridge();
method public boolean isDefault();
- method public boolean isSynthetic();
- method public boolean isVarArgs();
method public java.lang.String toGenericString();
}