Package ch.njol.skript.lang.function
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 ch.njol.skript.lang.function.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 ch.njol.skript.lang.function.JavaFunction
description, description, examples, examples, execute, getDescription, getExamples, getKeywords, getSince, keywords, keywords, name, requires, resetReturnValue, returnedKeys, setReturnedKeys, since, sinceMethods inherited from class ch.njol.skript.lang.function.Function
execute, getName, getParameter, getParameters, getReturnType, getSignature, isSingle, signature, toString, type
-
Constructor Details
-
SimpleJavaFunction
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
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
executein classJavaFunction<T>
-
executeSimple
Deprecated, for removal: This API element is subject to removal in a future version.
-
DefaultFunctioninstead.