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 MethodKeyThe 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, tryFailedMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods 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
-
getReturnType
Description copied from interface:JexlMethodreturns the return type of the method invoked.- Specified by:
getReturnTypein interfaceJexlMethod- Returns:
- return type
-
getTargetProperty
Description copied from class:AbstractExecutorGets the property targeted by this executor.- Overrides:
getTargetPropertyin classAbstractExecutor- Returns:
- the target property
-