code: public static String propertyNameFromMethodName(Configuration configuration, String name) {
          String propertyName = null;
          if (name.startsWith("get") || name.startsWith("set")) {
              propertyName = name.substring(3);
          } else if (name.startsWith("is")) {
              propertyName = name.substring(2);
          }
          if ((propertyName == null) || propertyName.isEmpty()){
              return "";
          }
          return propertyName.substring(0, 1).toLowerCase(configuration.getLocale())
                  + propertyName.substring(1);
      }
docs: A convenience method to get property name from the name of the
  getter or setter method.
  @param name name of the getter or setter method.
  @return the name of the property of the given setter of getter.