code: public void resolveEqualsHashCodeStyle(File file, int lineIndex) {
          if (equalsHashCodeStyle.equals("smart")) {
              equalsHashCodeStyle = (bean.isImmutable() ? "field" : "getter");
          }
          if (equalsHashCodeStyle.equals("omit") ||
                  equalsHashCodeStyle.equals("getter") ||
                  equalsHashCodeStyle.equals("field")) {
              return;
          }
          throw new BeanCodeGenException("Invalid equals/hashCode style: " + equalsHashCodeStyle +
                  " in " + getBean().getTypeRaw() + "." + getPropertyName(), file, lineIndex);
      }
docs: Resolves the equals hashCode generator.
  @param file  the file
  @param lineIndex  the line index