Class SimpleJavaFunction<T>

All Implemented Interfaces:
Documentable, Function<T>

@Deprecated(since="2.13", forRemoval=true) public abstract class SimpleJavaFunction<T> extends JavaFunction<T>
Deprecated, for removal: This API element is subject to removal in a future version.
Use DefaultFunction instead.
  • Constructor Details

    • SimpleJavaFunction

      public SimpleJavaFunction(Signature<T> sign)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • SimpleJavaFunction

      public SimpleJavaFunction(String name, Parameter<?>[] parameters, ClassInfo<T> returnType, boolean single)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • SimpleJavaFunction

      public SimpleJavaFunction(String name, Parameter<?>[] parameters, ClassInfo<T> returnType, boolean single, Contract contract)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • execute

      public final T @Nullable [] execute(FunctionEvent<?> event, Object[][] params)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      execute in class JavaFunction<T>
    • executeSimple

      public abstract T @Nullable [] executeSimple(Object[][] params)
      Deprecated, for removal: This API element is subject to removal in a future version.