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 ) ; }
add the given import