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 != 0
Object newInstance(Object arg0)
arg0
- the first argument.IllegalArgumentException
- if
this.getParametersTypes().length != 1
Object newInstance(Object arg0, Object arg1)
arg0
- the first argument.arg1
- the second argument.IllegalArgumentException
- if
this.getParametersTypes().length != 2
Object newInstance(Object arg0, Object arg1, Object arg2)
arg0
- the first argument.arg1
- the second argument.arg2
- the third argument.IllegalArgumentException
- if
this.getParametersTypes().length != 3
Copyright © 2005–2013 Javolution. All rights reserved.