code: public static String getPropertyName(Method method) {
  		if ( method.getParameterTypes().length == 0 ) {
  			String methodName = method.getName();
  
  			// <PropertyType> get<PropertyName>()
  			if ( methodName.startsWith( PROPERTY_ACCESSOR_PREFIX_GET ) && method.getReturnType() != void.class ) {
  				return Introspector.decapitalize( methodName.substring( 3 ) );
  			}
  			// boolean is<PropertyName>()
  			else if ( methodName.startsWith( PROPERTY_ACCESSOR_PREFIX_IS ) && method.getReturnType() == boolean.class ) {
  				return Introspector.decapitalize( methodName.substring( 2 ) );
  			}
  		}
  
  		return null;
  	}
docs: Returns the JavaBeans property name of the given method if it is a getter method.
  <p>
  Getter methods are methods
  <ul>
  <li>whose name start with "get" and who have a return type but no parameter or</li>
  <li>whose name starts with "is" and who have no parameter and return {@code boolean} or</li>
  </ul>
  
  @param method The method for which to get the property name
  @return The property name for the given method or {@code null} if the method is not a getter method according to
  the JavaBeans standard