|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
public interface DynamicConstructor
Defines a dynamic constructor.
Method Summary | |
---|---|
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. |
Method Detail |
---|
@SuppressWarnings("rawtypes") public java.lang.Object invoke(java.lang.Class clazz, java.lang.Object[] args)
clazz
- The actual classargs
- The arguments
public boolean isArgumentsMatch(java.lang.Object[] args)
args
- The arguments to check
Groovy Documentation