Class PackageLib.java_searcher

All Implemented Interfaces:
com.esotericsoftware.kryo.KryoSerializable
Enclosing class:
PackageLib

public static class PackageLib.java_searcher extends VarArgFunction implements com.esotericsoftware.kryo.KryoSerializable
Called last Converts package name to class name and tries to create new instance of this class, casting it to LuaValue (will fail if not instance of LuaValue)
  • Method Details

    • write

      public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output)
      Specified by:
      write in interface com.esotericsoftware.kryo.KryoSerializable
      Overrides:
      write in class LibFunction
    • read

      public void read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input)
      Specified by:
      read in interface com.esotericsoftware.kryo.KryoSerializable
      Overrides:
      read in class LibFunction
    • invoke

      public Varargs invoke(Varargs args)
      Description copied from class: VarArgFunction
      Subclass responsibility. May not have expected behavior for tail calls. Should not be used if: - function has a possibility of returning a TailcallVarargs
      Overrides:
      invoke in class VarArgFunction
      Parameters:
      args - the arguments to the function call.