code: public Class<?> decodeType(
              String typeStr,
              JodaBeanSer settings,
              String basePackage,
              Map<String, Class<?>> knownTypes,
              Class<?> defaultType) throws ClassNotFoundException {
          
          if (lenient) {
              return SerTypeMapper.decodeType(
                      typeStr, settings, basePackage, knownTypes, defaultType == Object.class ? String.class : defaultType);
          }
          return SerTypeMapper.decodeType(typeStr, settings, basePackage, knownTypes);
      }
docs: Decodes the type
  
  @param typeStr  the type, not null
  @param settings  the settings, not null
  @param basePackage  the base package, not null
  @param knownTypes  the known types, not null
  @param defaultType  the default type, not null
  @return the decoded type
  @throws ClassNotFoundException if the class is not found