java.lang.reflect
Class Constructor
java.lang.Object
java.lang.reflect.AccessibleObject
java.lang.reflect.Constructor
- All Implemented Interfaces:
- Member
- public final class Constructor
- extends AccessibleObject
- implements Member
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
Constructor(Class,
Class[],
Class[],
int,
int)
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 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.