Interface ClassDefineResult


public interface ClassDefineResult
Represents a result of defining a class using an IScalaPluginClassLoader.
  • Method Details Link icon

    • getClassDefinition Link icon

      Class<?> getClassDefinition()
      Get the Class that was defined.
      Returns:
      the class
    • isNew Link icon

      boolean isNew()
      Whether the class was newly-defined.
      Returns:
      true if the class is new, false if it was old
    • newClass Link icon

      static ClassDefineResult newClass(Class<?> clazz)
    • oldClass Link icon

      static ClassDefineResult oldClass(Class<?> clazz)