code: public static String getPropertyName(Method method) {
          String methodName = method.getName();
          final String get = "get";
          final String is = "is";
          if (methodName.startsWith(get)) {
              return decapitalize(methodName.substring(get.length()));
          } else if (methodName.startsWith(is)) {
              return decapitalize(methodName.substring(is.length()));
          } else {
              return null;
          }
  
      }
docs: Gets the property name from a getter method.
  <p/>
  We extend JavaBean conventions, allowing the getter method to have parameters
  
  @param method The getter method
  @return The name of the property. Returns null if method wasn't JavaBean
  getter-styled