Interface ClassDefineResult


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

    • getClassDefinition

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

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

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

      static ClassDefineResult oldClass(Class<?> clazz)