processor/src/main/java/repacked/com/squareup/javawriter/JavaWriter.java
public JavaWriter emitImports(Class<?>... types) throws IOException {
    List<String> classNames = new ArrayList<String>(types.length);
    for (Class<?> classToImport : types) {
      classNames.add(classToImport.getName());
    }
    return emitImports(classNames);
  }
public JavaWriter emitImports(Class<?>... types) throws IOException {
    List<String> classNames = new ArrayList<String>(types.length);
    for (Class<?> classToImport : types) {
      classNames.add(classToImport.getName());
    }
    return emitImports(classNames);
  }
Emit an import for each {@code type} provided. For the duration of the file, all references to
these classes will be automatically shortened.