Interface ClassGenerator


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

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

    • generate

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