@Override
    public JavaWriter importClasses(String... imports) throws IOException {
        for (String cl : imports) {
            classes.add(cl);
            line(IMPORT, cl, Symbols.SEMICOLON);
        }
        nl();
        return this;
    }
JavaWriter is the default implementation of the CodeWriter interface

@author tiwe
querydsl-codegen-utils/src/main/java/com/querydsl/codegen/utils/JavaWriter.java