org.formaria.aria
Class MethodReference
java.lang.Object
org.formaria.aria.MethodReference
- Direct Known Subclasses:
- PojoMethodReference
public class MethodReference
- extends java.lang.Object
A holder for method related information
Copyright (c) Formaria Ltd., 2008
License: see license.txt
|
Field Summary |
java.lang.Object[] |
args
|
java.lang.Class |
clazz
|
java.lang.Object |
instance
|
java.lang.reflect.Method |
method
|
|
Constructor Summary |
MethodReference(java.lang.Class cls,
java.lang.Object ownerInstance,
java.lang.reflect.Method m,
java.lang.Object[] arguments)
Create a new method reference |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
clazz
public java.lang.Class clazz
method
public java.lang.reflect.Method method
instance
public java.lang.Object instance
args
public java.lang.Object[] args
MethodReference
public MethodReference(java.lang.Class cls,
java.lang.Object ownerInstance,
java.lang.reflect.Method m,
java.lang.Object[] arguments)
- Create a new method reference
- Parameters:
cls - the class containing teh methodownerInstance - the instance of the object containing the methodm - the methodarguments - the argument values
updateArgs
public void updateArgs()