Class SInvocation.FallBackInvoker

java.lang.Object
jadex.bytecode.invocation.SInvocation.FallBackInvoker
All Implemented Interfaces:
IMethodInvoker
Enclosing class:
SInvocation

protected static class SInvocation.FallBackInvoker extends Object implements IMethodInvoker
Fallback invoker using reflection in case a byte-engineered variant is not available.
  • Field Details

    • method

      protected Method method
      The method.
  • Constructor Details

    • FallBackInvoker

      public FallBackInvoker(Method method)
      Creates the invoker.
      Parameters:
      method - Method to invoke.
  • Method Details

    • invoke

      public Object invoke(Object object, Object... args)
      Invokes a method on an object.
      Specified by:
      invoke in interface IMethodInvoker
      Parameters:
      object - The object
      args - The method arguments.
      methodid - The ID of the method.
      Returns:
      The result, null if void.