code: public String getMethodName(Method method) {
          String name;
          if (ClassUtils.isBooleanGetter(method)) {
              name = extractMethodName(method, 2);
          } else {
              name = extractMethodName(method, 3);
          }
          return name;
      }
docs: Extract Java bean name from getter's name
  
  @param method method to extract name
  @return extracted method name