code: public static String getFieldNameFromMethod(Method m) {
          String methodName = m.getName();
  
          if (methodName.startsWith(GET_METHOD_PREFIX)) {
              methodName = methodName.replaceFirst(GET_METHOD_PREFIX, "");
          } else if (methodName.startsWith(IS_METHOD_PREFIX)) {
              methodName = methodName.replaceFirst(IS_METHOD_PREFIX, "");
          } else if (methodName.startsWith(SET_METHOD_PREFIX)) {
              methodName = methodName.replaceFirst(SET_METHOD_PREFIX, "");
          }
  
          return methodName.substring(0, 1).toLowerCase() + methodName.substring(1);
  
      }
docs: Gets field name from method.
  
  @param m the m
  @return the field name from method