code: public void addImport(String imprt, int lineNo) {
          imports.add(imprt);
          if (imprt.endsWith(".*")) {
              imprt = imprt.substring(0, imprt.lastIndexOf(".*"));
              templateClass.importPaths.add(imprt);
          }
          importLineMap.put(imprt, lineNo);
      }
docs: add the given import
  @param imprt
  @param lineNo