code: public static <T extends Descriptor> DescriptorImporter<T> importAs(final Class<T> type, final String descriptorName)
          throws IllegalArgumentException {
          // Precondition checks
          if (type == null) {
              throw new IllegalArgumentException("type must be specified");
          }
  
          // Create new importer
          return DescriptorInstantiator.createImporterFromUserView(type, descriptorName);
      }
docs: Returns a new named {@link DescriptorImporter} instance, ready to import as a new {@link Descriptor} instance of
  the given type. If the name specified is null, the default name for this type will be assigned.
  
  @param type
  @param descriptorName
  @return
  @throws IllegalArgumentException
  If the type is not specified