Interface ClassDefiner

All Known Implementing Classes:
AnonymousClassDefiner, ChildClassDefiner, GeneratedClassDefiner, HiddenClassDefiner, UnsafeClassDefiner

interface ClassDefiner
Defines dynamically generated classes.
  • Method Summary

    Modifier and Type
    Method
    Description
    define(Class<?> hostClass, byte[] bytecode)
    Defines a new class relative to the host.
  • Method Details

    • define

      Class<?> define(Class<?> hostClass, byte[] bytecode) throws Exception
      Defines a new class relative to the host.
      Throws:
      Exception