Class MqlForeignFunctions

java.lang.Object
net.hollowcube.mql.foreign.MqlForeignFunctions

public class MqlForeignFunctions extends Object
  • Constructor Details

    • MqlForeignFunctions

      public MqlForeignFunctions()
  • Method Details

    • create

      @NotNull public static <T> @NotNull MqlScope create(@NotNull @NotNull Class<T> type, @Nullable T instance)
    • createForeign

      @NotNull public static @NotNull MqlCallable createForeign(@NotNull @NotNull Method method, @UnknownNullability Object bindTo)
      Parameters:
      method - The method to bind. Must be public, may be static.
      bindTo - The instance of the method's class to bind to. If the method is static, this must be null.
      Returns:
      An MqlCallable representing an mql accessible function.
      See Also: