Skip navigation links
net.sf.cglib.core

Interface GeneratorStrategy

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      boolean equals(java.lang.Object o)
      The GeneratorStrategy in use does not currently, but may in the future, affect the caching of classes generated by AbstractClassGenerator, so this is a reminder that you should correctly implement equals and hashCode to avoid generating too many classes.
      byte[] generate(ClassGenerator cg)
      Generate the class.
    • Method Detail

      • equals

        boolean equals(java.lang.Object o)
        The GeneratorStrategy in use does not currently, but may in the future, affect the caching of classes generated by AbstractClassGenerator, so this is a reminder that you should correctly implement equals and hashCode to avoid generating too many classes.
        Overrides:
        equals in class java.lang.Object