code: public Class<?> getClass(String name, Class<?> defaultValue) {
      String valueString = getTrimmed(name);
      if (valueString == null) {
        return defaultValue;
      }
      try {
        return getClassByName(valueString);
      } catch (ClassNotFoundException e) {
        throw new RuntimeException(e);
      }
    }
docs: Get the value of the <code>name</code> property as a <code>Class</code>.
  If no such property is specified, then <code>defaultValue</code> is
  returned.
  
  @param name the class name.
  @param defaultValue default value.
  @return property value as a <code>Class</code>,
  or <code>defaultValue</code>.