|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.groovy.grails.commons.metaclass.AbstractDynamicConstructor
public abstract class AbstractDynamicConstructor
Abstract class that provides default implementation for isArgumentsMatch
| Constructor Summary | |
|---|---|
AbstractDynamicConstructor(Class[] argumentTypes)
Takes an array of types required to match this constructor |
|
| Method Summary | |
|---|---|
abstract Object |
invoke(Class clazz,
Object[] args)
Invokes the dynamic constructor |
boolean |
isArgumentsMatch(Object[] args)
Test whether the specified arguments match this constructor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractDynamicConstructor(Class[] argumentTypes)
argumentTypes - The argument types| Method Detail |
|---|
public boolean isArgumentsMatch(Object[] args)
DynamicConstructor
isArgumentsMatch in interface DynamicConstructorargs - The arguments to check
public abstract Object invoke(Class clazz,
Object[] args)
DynamicConstructor
invoke in interface DynamicConstructorclazz - The actual classargs - The arguments
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||