Interface ClassGenerator


public interface ClassGenerator
A factory that generates a class definition given the class' name.
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    byte[]
    generate(String className)
    Generates the class definition.
  • Method Details Link icon

    • generate Link icon

      byte[] generate(String className)
      Generates the class definition.
      Parameters:
      className - the name of the class
      Returns:
      the classfile's bytecode