public class Constructor extends MethodConstructor
Modifier and Type | Field and Description |
---|---|
Throwable |
instantiationErrorNotUsed
If the method call newInstance() returns null, then this will be set to be
the exception that caused the newInstance() call to fail.
|
_method_, _vclass_, declaringClass, methodName, methodSpecs, modifiers, reflect, wrapperType
FORCE_ACCESS_PUBLIC
Modifier and Type | Method and Description |
---|---|
String |
getName() |
Object |
newInstance(Wrapper[] params)
Use the Constructor to create a new instance of the Object.
|
getDeclaringClass, getExceptionTypes, getModifiers, getParameters, getParameterTypes, getReturnType, getSpecs, getType, toString
public Throwable instantiationErrorNotUsed
public Object newInstance(Wrapper[] params) throws IllegalAccessException, IllegalArgumentException, InstantiationException, InvocationTargetException
params
- an array of parameters which must be of the correct length.IllegalAccessException
IllegalArgumentException
InstantiationException
InvocationTargetException
public String getName()
getName
in interface Member
getName
in class MethodConstructor