@Override
    public boolean equals(Object obj) {
        if (!super.equals(obj)) {
            return false;
        }
        final EnumImpl other = (EnumImpl) obj;
        if (!Objects.equals(this.constants, other.constants)) {
            return false;
        }
        return Objects.equals(this.constructors, other.constructors);
    }
Copy constructor.

@param prototype  the prototype
common-parent/codegen/src/main/java/com/speedment/common/codegen/internal/model/EnumImpl.java