ReflectAccesspublic class ReflectAccess extends Object implements sun.reflect.LangReflectAccessPackage-private class implementing the
sun.reflect.LangReflectAccess interface, allowing the java.lang
package to instantiate objects in this package. |
Methods Summary |
---|
public java.lang.reflect.Constructor | copyConstructor(java.lang.reflect.Constructor arg)
return arg.copy();
| public java.lang.reflect.Field | copyField(java.lang.reflect.Field arg)
return arg.copy();
| public java.lang.reflect.Method | copyMethod(java.lang.reflect.Method arg)
return arg.copy();
| public sun.reflect.ConstructorAccessor | getConstructorAccessor(java.lang.reflect.Constructor c)
return c.getConstructorAccessor();
| public byte[] | getConstructorAnnotations(java.lang.reflect.Constructor c)
return c.getRawAnnotations();
| public byte[] | getConstructorParameterAnnotations(java.lang.reflect.Constructor c)
return c.getRawParameterAnnotations();
| public java.lang.String | getConstructorSignature(java.lang.reflect.Constructor c)
return c.getSignature();
| public int | getConstructorSlot(java.lang.reflect.Constructor c)
return c.getSlot();
| public sun.reflect.MethodAccessor | getMethodAccessor(java.lang.reflect.Method m)
return m.getMethodAccessor();
| public java.lang.reflect.Constructor | newConstructor(java.lang.Class declaringClass, java.lang.Class[] parameterTypes, java.lang.Class[] checkedExceptions, int modifiers, int slot, java.lang.String signature, byte[] annotations, byte[] parameterAnnotations)
return new Constructor<T>(declaringClass,
parameterTypes,
checkedExceptions,
modifiers,
slot,
signature,
annotations,
parameterAnnotations);
| public java.lang.reflect.Field | newField(java.lang.Class declaringClass, java.lang.String name, java.lang.Class type, int modifiers, int slot, java.lang.String signature, byte[] annotations)
return new Field(declaringClass,
name,
type,
modifiers,
slot,
signature,
annotations);
| public java.lang.reflect.Method | newMethod(java.lang.Class declaringClass, java.lang.String name, java.lang.Class[] parameterTypes, java.lang.Class returnType, java.lang.Class[] checkedExceptions, int modifiers, int slot, java.lang.String signature, byte[] annotations, byte[] parameterAnnotations, byte[] annotationDefault)
return new Method(declaringClass,
name,
parameterTypes,
returnType,
checkedExceptions,
modifiers,
slot,
signature,
annotations,
parameterAnnotations,
annotationDefault);
| public void | setConstructorAccessor(java.lang.reflect.Constructor c, sun.reflect.ConstructorAccessor accessor)
c.setConstructorAccessor(accessor);
| public void | setMethodAccessor(java.lang.reflect.Method m, sun.reflect.MethodAccessor accessor)
m.setMethodAccessor(accessor);
|
|