code: protected List<String> getGetterNameAlternatives(String fieldName) {
          String base = capitalize(fieldName);
          List<String> res = new ArrayList<>();
          res.add("get" + capitalize(fieldName));
          res.add(fieldName);
          String alt = "is" + base;
          if (alt.startsWith("isIs")) {
              res.add("i" + alt.substring(3));
          }
          res.add(alt);
          alt = "has" + base;
          if (!alt.startsWith("hasIs")) {
              if (alt.startsWith("hasHas")) {
                  res.add("h" + alt.substring(4));
              } else {
                  res.add(alt);
              }
          }
          return res;
      }
docs: Get list of possible getter names for a field (without ability to assume type).
  Method is protected to allow test access.
  
  @param fieldName name of field to get possible getters for
  @return list of possible getter names