Class AbstractExecutor.Method
java.lang.Object
org.apache.commons.jexl3.internal.introspection.AbstractExecutor
org.apache.commons.jexl3.internal.introspection.AbstractExecutor.Method
- All Implemented Interfaces:
JexlMethod
- Direct Known Subclasses:
MethodExecutor
- Enclosing class:
- AbstractExecutor
Abstract class that is used to execute an arbitrary method.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.commons.jexl3.internal.introspection.AbstractExecutor
AbstractExecutor.Get, AbstractExecutor.Method, AbstractExecutor.Set
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final MethodKey
The method key discovered from the arguments.Fields inherited from class org.apache.commons.jexl3.internal.introspection.AbstractExecutor
method, objectClass, TRY_FAILED
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Class<?>
returns the return type of the method invoked.Gets the property targeted by this executor.Methods inherited from class org.apache.commons.jexl3.internal.introspection.AbstractExecutor
castInteger, castString, classOf, equals, equals, getMethod, getMethodName, getTargetClass, hashCode, initMarker, isAlive, isCacheable, makeArgs, tryFailed
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.commons.jexl3.introspection.JexlMethod
invoke, isCacheable, tryFailed, tryInvoke
-
Field Details
-
key
The method key discovered from the arguments.
-
-
Constructor Details
-
Method
Creates a new instance.- Parameters:
c
- the class this executor applies tom
- the methodk
- the MethodKey
-
-
Method Details
-
getTargetProperty
Description copied from class:AbstractExecutor
Gets the property targeted by this executor.- Overrides:
getTargetProperty
in classAbstractExecutor
- Returns:
- the target property
-
getReturnType
Description copied from interface:JexlMethod
returns the return type of the method invoked.- Specified by:
getReturnType
in interfaceJexlMethod
- Returns:
- return type
-