code: public static String extractPropertyNameFromMethodName(String prefix, String methodName) {
          if (prefix==null || methodName==null) return null;
          if (methodName.startsWith(prefix) && prefix.length()<methodName.length()) {
              String result = methodName.substring(prefix.length());
              String propertyName = java.beans.Introspector.decapitalize(result);
              if (result.equals(MetaClassHelper.capitalize(propertyName))) return propertyName;
          }
          return null;
      }
docs: Given a method name and a prefix, returns the name of the property that should be looked up,
  following the java beans rules. For example, "getName" would return "name", while
  "getFullName" would return "fullName".
  If the prefix is not found, returns null.
  @param prefix the method name prefix ("get", "is", "set", ...)
  @param methodName the method name
  @return a property name if the prefix is found and the method matches the java beans rules, null otherwise