接口 GeneratorStrategy

    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型 方法 说明
      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.
    • 方法详细资料

      • 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.
        覆盖:
        equals 在类中 java.lang.Object