Class SimpleJavaFunction<T>
java.lang.Object
ch.njol.skript.lang.function.Function<T>
ch.njol.skript.lang.function.JavaFunction<T>
ch.njol.skript.lang.function.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.
-
Field Summary
Fields inherited from class Function
executeWithNulls -
Constructor Summary
ConstructorsConstructorDescriptionSimpleJavaFunction(Signature<T> sign) Deprecated, for removal: This API element is subject to removal in a future version.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(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 Summary
Modifier and TypeMethodDescriptionfinal T @Nullable []execute(FunctionEvent<?> event, Object[][] params) Deprecated, for removal: This API element is subject to removal in a future version.abstract T @Nullable []executeSimple(Object[][] params) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class JavaFunction
description, description, examples, examples, execute, getDescription, getExamples, getKeywords, getSince, keywords, keywords, name, requires, resetReturnValue, returnedKeys, setReturnedKeys, since, sinceMethods inherited from class Function
execute, getName, getParameter, getParameters, getReturnType, getSignature, isSingle, signature, toString, type
-
Constructor Details
-
SimpleJavaFunction
-
SimpleJavaFunction
-
SimpleJavaFunction
-
-
Method Details
-
execute
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
executein classJavaFunction<T>
-
executeSimple
-
DefaultFunctioninstead.