JML

java.lang.reflect
Class Constructor

java.lang.Object
  extended byjava.lang.reflect.AccessibleObject
      extended byjava.lang.reflect.Constructor
All Implemented Interfaces:
Member

public final class Constructor
extends AccessibleObject
implements Member


Field Summary
private  Class clazz
           
private  sun.reflect.ConstructorAccessor constructorAccessor
           
private  Class[] exceptionTypes
           
private  int modifiers
           
private  Class[] parameterTypes
           
private  Constructor root
           
private  int slot
           
 
Fields inherited from class java.lang.reflect.AccessibleObject
override, reflectionFactory, securityCheckCache
 
Fields inherited from interface java.lang.reflect.Member
DECLARED, PUBLIC
 
Constructor Summary
(package private) Constructor(Class, Class[], Class[], int, int)
           
 
Method Summary
private  void acquireConstructorAccessor()
           
(package private)  Constructor copy()
           
 boolean equals(Object)
           
(package private)  sun.reflect.ConstructorAccessor getConstructorAccessor()
           
 Class getDeclaringClass()
           
 Class[] getExceptionTypes()
           
 int getModifiers()
           
 String getName()
           
 Class[] getParameterTypes()
           
(package private)  int getSlot()
           
 int hashCode()
           
 Object newInstance(Object[])
           
(package private)  void setConstructorAccessor(sun.reflect.ConstructorAccessor)
           
 String toString()
           
 
Methods inherited from class java.lang.reflect.AccessibleObject
isAccessible, setAccessible, setAccessible
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

root

private Constructor root

parameterTypes

private Class[] parameterTypes

modifiers

private int modifiers

clazz

private Class clazz

exceptionTypes

private Class[] exceptionTypes

constructorAccessor

private volatile sun.reflect.ConstructorAccessor constructorAccessor

slot

private int slot
Constructor Detail

Constructor

Constructor(Class,
            Class[],
            Class[],
            int,
            int)
Method Detail

getModifiers

public int getModifiers()
Specified by:
getModifiers in interface Member

getSlot

int getSlot()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

acquireConstructorAccessor

private void acquireConstructorAccessor()

getDeclaringClass

public Class getDeclaringClass()
Specified by:
getDeclaringClass in interface Member

getExceptionTypes

public Class[] getExceptionTypes()

getParameterTypes

public Class[] getParameterTypes()

equals

public boolean equals(Object)
Overrides:
equals in class Object

getName

public String getName()
Specified by:
getName in interface Member

toString

public String toString()
Overrides:
toString in class Object

copy

Constructor copy()

getConstructorAccessor

sun.reflect.ConstructorAccessor getConstructorAccessor()

setConstructorAccessor

void setConstructorAccessor(sun.reflect.ConstructorAccessor)

newInstance

public Object newInstance(Object[])
                   throws InstantiationException,
                          IllegalAccessException,
                          IllegalArgumentException,
                          InvocationTargetException
Throws:
InstantiationException
IllegalAccessException
IllegalArgumentException
InvocationTargetException

JML

JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.