@Override
    public int hashCode() {
        int result = getTypeName().hashCode();
        result = 31 * result + constants.hashCode();
        return result;
    }
@author  Emil Forslund
@author  Simon Jonasson
@since   3.0.0
plugin-parent/enum-generator/src/main/java/com/speedment/plugins/enums/internal/GeneratedEnumType.java