code: public static String getPropertyForGetter(String getterName, String returnType) {
          if (getterName == null || getterName.length() == 0) return null;
  
          if (getterName.startsWith("get")) {
              String prop = getterName.substring(3);
              return convertValidPropertyMethodSuffix(prop);
          }
          if (getterName.startsWith("is") && returnType.equals("boolean")) {
              String prop = getterName.substring(2);
              return convertValidPropertyMethodSuffix(prop);
          }
          return null;
      }
docs: Returns a property name equivalent for the given getter name and return type or null if it is not a valid getter. If not null
  or empty the getter name is assumed to be a valid identifier.
  
  @param getterName The getter name
  @param returnType The type the method returns
  @return The property name equivalent