Package jadex.bytecode.invocation
Class SInvocation.FallBackInvoker
- java.lang.Object
-
- jadex.bytecode.invocation.SInvocation.FallBackInvoker
-
- All Implemented Interfaces:
IMethodInvoker
- Enclosing class:
- SInvocation
protected static class SInvocation.FallBackInvoker extends java.lang.Object implements IMethodInvoker
Fallback invoker using reflection in case a byte-engineered variant is not available.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.reflect.Method
method
The method.
-
Constructor Summary
Constructors Constructor Description FallBackInvoker(java.lang.reflect.Method method)
Creates the invoker.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
invoke(java.lang.Object object, java.lang.Object... args)
Invokes a method on an object.
-
-
-
Method Detail
-
invoke
public java.lang.Object invoke(java.lang.Object object, java.lang.Object... args)
Invokes a method on an object.- Specified by:
invoke
in interfaceIMethodInvoker
- Parameters:
object
- The objectmethodid
- The ID of the method.args
- The method arguments.- Returns:
- The result, null if void.
-
-