Modifier and Type | Field and Description |
---|---|
private static java.lang.Object[] |
EMPTY_ARRAY |
private java.lang.reflect.Method |
method |
Constructor and Description |
---|
MethodFunction(java.lang.reflect.Method method)
Create a new MethodFunction.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
invoke(ExpressionContext context,
java.lang.Object[] parameters)
Computes the value of the function.
|
java.lang.String |
toString() |
private java.lang.reflect.Method method
private static final java.lang.Object[] EMPTY_ARRAY
public MethodFunction(java.lang.reflect.Method method)
method
- implementing Methodpublic java.lang.Object invoke(ExpressionContext context, java.lang.Object[] parameters)
Function
public java.lang.String toString()
toString
in class java.lang.Object