public static interface Reflection.Constructor
| Modifier and Type | Method and Description |
|---|---|
Class[] |
getParameterTypes()
Returns an array of
Class objects that represents
the formal parameter types, in declaration order of this constructor. |
Object |
newInstance()
Invokes this constructor with no argument.
|
Object |
newInstance(Object arg0)
Invokes this constructor with the specified single argument.
|
Object |
newInstance(Object arg0,
Object arg1)
Invokes this constructor with the specified two arguments.
|
Object |
newInstance(Object arg0,
Object arg1,
Object arg2)
Invokes this constructor with the specified three arguments.
|
Class[] getParameterTypes()
Class objects that represents
the formal parameter types, in declaration order of this constructor.Object newInstance()
IllegalArgumentException - if
this.getParametersTypes().length != 0Object newInstance(Object arg0)
arg0 - the first argument.IllegalArgumentException - if
this.getParametersTypes().length != 1Object newInstance(Object arg0, Object arg1)
arg0 - the first argument.arg1 - the second argument.IllegalArgumentException - if
this.getParametersTypes().length != 2Object newInstance(Object arg0, Object arg1, Object arg2)
arg0 - the first argument.arg1 - the second argument.arg2 - the third argument.IllegalArgumentException - if
this.getParametersTypes().length != 3Copyright © 2005–2024 Javolution. All rights reserved.