| sun.reflect.LangReflectAccess
LangReflectAccess | public interface LangReflectAccess (Code) | | An interface which gives privileged packages Java-level access to
internals of java.lang.reflect.
|
Method Summary | |
public Constructor<T> | copyConstructor(Constructor<T> arg) | public Field | copyField(Field arg) | public Method | copyMethod(Method arg) | public ConstructorAccessor | getConstructorAccessor(Constructor c) | public byte[] | getConstructorAnnotations(Constructor c) | public byte[] | getConstructorParameterAnnotations(Constructor c) | public String | getConstructorSignature(Constructor c) | public int | getConstructorSlot(Constructor c) | public MethodAccessor | getMethodAccessor(Method m) | public Constructor<T> | newConstructor(Class<T> declaringClass, Class[] parameterTypes, Class[] checkedExceptions, int modifiers, int slot, String signature, byte[] annotations, byte[] parameterAnnotations) Creates a new java.lang.reflect.Constructor. | public Field | newField(Class declaringClass, String name, Class type, int modifiers, int slot, String signature, byte[] annotations) Creates a new java.lang.reflect.Field. | public Method | newMethod(Class declaringClass, String name, Class[] parameterTypes, Class returnType, Class[] checkedExceptions, int modifiers, int slot, String signature, byte[] annotations, byte[] parameterAnnotations, byte[] annotationDefault) Creates a new java.lang.reflect.Method. | public void | setConstructorAccessor(Constructor c, ConstructorAccessor accessor) | public void | setMethodAccessor(Method m, MethodAccessor accessor) |
copyField | public Field copyField(Field arg)(Code) | | Makes a "child" copy of a Field
|
getConstructorAnnotations | public byte[] getConstructorAnnotations(Constructor c)(Code) | | Gets the "annotations" field from a Constructor (used for serialization)
|
getConstructorParameterAnnotations | public byte[] getConstructorParameterAnnotations(Constructor c)(Code) | | Gets the "parameterAnnotations" field from a Constructor (used for serialization)
|
getConstructorSignature | public String getConstructorSignature(Constructor c)(Code) | | Gets the "signature" field from a Constructor (used for serialization)
|
getConstructorSlot | public int getConstructorSlot(Constructor c)(Code) | | Gets the "slot" field from a Constructor (used for serialization)
|
getMethodAccessor | public MethodAccessor getMethodAccessor(Method m)(Code) | | Gets the MethodAccessor object for a java.lang.reflect.Method
|
newConstructor | public Constructor<T> newConstructor(Class<T> declaringClass, Class[] parameterTypes, Class[] checkedExceptions, int modifiers, int slot, String signature, byte[] annotations, byte[] parameterAnnotations)(Code) | | Creates a new java.lang.reflect.Constructor. Access checks as
per java.lang.reflect.AccessibleObject are not overridden.
|
newField | public Field newField(Class declaringClass, String name, Class type, int modifiers, int slot, String signature, byte[] annotations)(Code) | | Creates a new java.lang.reflect.Field. Access checks as per
java.lang.reflect.AccessibleObject are not overridden.
|
newMethod | public Method newMethod(Class declaringClass, String name, Class[] parameterTypes, Class returnType, Class[] checkedExceptions, int modifiers, int slot, String signature, byte[] annotations, byte[] parameterAnnotations, byte[] annotationDefault)(Code) | | Creates a new java.lang.reflect.Method. Access checks as per
java.lang.reflect.AccessibleObject are not overridden.
|
setMethodAccessor | public void setMethodAccessor(Method m, MethodAccessor accessor)(Code) | | Sets the MethodAccessor object for a java.lang.reflect.Method
|
|
|