String name= NLSMessages.getString("NLSrefactoring.add_import_declaration") + fAddedImport;
String name= NLSMessages.getFormattedString("NLSrefactoring.add_import_declaration", fAddedImport);
	private void addImportDeclaration(TextChange builder) throws JavaModelException{		IImportContainer importContainer= getCu().getImportContainer();		int start;		if (!importContainer.exists()){			String packName= ((IPackageFragment)getCu().getParent()).getElementName();			IPackageDeclaration packageDecl= getCu().getPackageDeclaration(packName);			if (!packageDecl.exists())				start= 0;			else{				ISourceRange sr= packageDecl.getSourceRange();				start= sr.getOffset() + sr.getLength() - 1;			}			} else{			ISourceRange sr= importContainer.getSourceRange();			start= sr.getOffset() + sr.getLength() - 1;		}						String newImportText= fgLineDelimiter + "import " + fAddedImport + ";"; //$NON-NLS-2$ //$NON-NLS-1$		String name= NLSMessages.getString("NLSrefactoring.add_import_declaration") + fAddedImport; //$NON-NLS-1$		builder.addTextEdit(name, SimpleTextEdit.createInsert(start + 1, newImportText));	}