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, wrapperTypeFORCE_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, toStringpublic Throwable instantiationErrorNotUsed
public Object newInstance(Wrapper[] params) throws IllegalAccessException, IllegalArgumentException, InstantiationException, InvocationTargetException
params - an array of parameters which must be of the correct length.IllegalAccessExceptionIllegalArgumentExceptionInstantiationExceptionInvocationTargetExceptionpublic String getName()
getName in interface MembergetName in class MethodConstructor