Defines a dynamic constructor.
Type Params | Return Type | Name and description |
---|---|---|
|
java.lang.Object |
invoke(java.lang.Class clazz, java.lang.Object[] args) Invokes the dynamic constructor. |
|
boolean |
isArgumentsMatch(java.lang.Object[] args) Test whether the specified arguments match this constructor. |
Invokes the dynamic constructor.
clazz
- The actual classargs
- The argumentsTest whether the specified arguments match this constructor.
args
- The arguments to check