code: public static final Method getWriteMethod(Class<?> clazz, String propertyName, Class<?> propertyType)
      {
          String propertyNameCapitalized = capitalize(propertyName);
          try
          {
              return clazz.getMethod("set" + propertyNameCapitalized, new Class[]{propertyType});
          }
          catch (Exception e)
          {
              return null;
          }
      }
docs: Lookup the setter method for the given property.
  
  @param clazz
  type which contains the property.
  @param propertyName
  name of the property.
  @param propertyType
  type of the property.
  @return a Method with write-access for the property.