${foo.bar()}
| Modifier and Type | Method and Description |
|---|---|
| public Class | |
| public Object | |
| public boolean | Returns: true if can be reused for this class, false if notSpecifies if this JexlMethod is cacheable and able to be reused for this class of object it was returned for. |
| public boolean | |
| public Object | Returns: the result of the method invocation that should be checked by tryFailed to determine if it succeeded or failed.the method name name, Object the object to invoke the method upon obj, Object[] the method arguments params)Attempts to reuse this JexlMethod, checking that it is compatible with the actual set of arguments. |
| getReturnType | back to summary |
|---|---|
| public Class returns the return type of the method invoked.
| |
| invoke | back to summary |
|---|---|
| public Object invoke(Object obj, Object[] params) throws Exception Invocation method, called when the method invocation should be performed and a value returned. | |
| isCacheable | back to summary |
|---|---|
| public boolean isCacheable() Specifies if this JexlMethod is cacheable and able to be reused for this class of object it was returned for.
| |
| tryFailed | back to summary |
|---|---|
| public boolean tryFailed(Object rval) Checks whether a tryInvoke failed or not.
| |
| tryInvoke | back to summary |
|---|---|
| public Object tryInvoke(String name, Object obj, Object[] params) Attempts to reuse this JexlMethod, checking that it is compatible with the actual set of arguments. Related to isCacheable since this method is often used with cached JexlMethod instances. | |