FileDocCategorySizeDatePackage
ReflectAccess.javaAPI DocJava SE 5 API4051Fri Aug 26 14:57:06 BST 2005java.lang.reflect

ReflectAccess

public class ReflectAccess extends Object implements sun.reflect.LangReflectAccess
Package-private class implementing the sun.reflect.LangReflectAccess interface, allowing the java.lang package to instantiate objects in this package.

Fields Summary
Constructors Summary
Methods Summary
public java.lang.reflect.ConstructorcopyConstructor(java.lang.reflect.Constructor arg)

        return arg.copy();
    
public java.lang.reflect.FieldcopyField(java.lang.reflect.Field arg)

        return arg.copy();
    
public java.lang.reflect.MethodcopyMethod(java.lang.reflect.Method arg)

        return arg.copy();
    
public sun.reflect.ConstructorAccessorgetConstructorAccessor(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.StringgetConstructorSignature(java.lang.reflect.Constructor c)

        return c.getSignature();
    
public intgetConstructorSlot(java.lang.reflect.Constructor c)

        return c.getSlot();
    
public sun.reflect.MethodAccessorgetMethodAccessor(java.lang.reflect.Method m)

        return m.getMethodAccessor();
    
public java.lang.reflect.ConstructornewConstructor(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.FieldnewField(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.MethodnewMethod(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 voidsetConstructorAccessor(java.lang.reflect.Constructor c, sun.reflect.ConstructorAccessor accessor)

        c.setConstructorAccessor(accessor);
    
public voidsetMethodAccessor(java.lang.reflect.Method m, sun.reflect.MethodAccessor accessor)

        m.setMethodAccessor(accessor);