Interface ClassCompilerListener


public interface ClassCompilerListener
Called by the ClassCompiler to report the result of a class compilation.
  • Method Summary

    Modifier and Type Method Description
    void failure​(Clazz clazz, Throwable t)
    Notifies that the specified class couldn't be compiled.
    void success​(Clazz clazz)
    Notifies that the specified class was compiled successfully.
  • Method Details

    • success

      void success​(Clazz clazz)
      Notifies that the specified class was compiled successfully.
      Parameters:
      clazz - the compiled class.
    • failure

      void failure​(Clazz clazz, Throwable t)
      Notifies that the specified class couldn't be compiled.
      Parameters:
      clazz - the compiled class.
      t - a Throwable which caused the compilation to fail.