Bug 109992 Remove $NON-NLS$ tag quick fix can result in compile error
I20050920-0010 Users might not be aware of the exact non-nls tag syntax and hence add some additional comments behind the tag, e.g.: <some code> //$NON-NLS-1$ some additionaal user comment The quick fix results in: <some code> some additionaal user comment
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LocalCorrectionsSubProcessor.java
}
	
	public static void getUnnecessaryNLSTagProposals(IInvocationContext context, IProblemLocation problem, Collection proposals) throws JavaModelException {
		IBuffer buffer= context.getCompilationUnit().getBuffer();
		if (buffer != null) {
			int offset= problem.getOffset();
			int length= problem.getLength();
			while (offset > 0 && Strings.isIndentChar(buffer.getChar(offset - 1))) {
				offset--;
				length++;
			}
			String name= CorrectionMessages.LocalCorrectionsSubProcessor_remove_nls_tag_description;
			Image image= JavaPlugin.getDefault().getWorkbench().getSharedImages().getImage(ISharedImages.IMG_TOOL_DELETE);
			ReplaceCorrectionProposal proposal= new ReplaceCorrectionProposal(name, context.getCompilationUnit(), offset, length, new String(), 6);
			proposal.setImage(image);
			proposals.add(proposal);
		}
	}
	
	/*
	 * Fix instance accesses and indirect (static) accesses to static fields/methods
	 */
	public static void addCorrectAccessToStaticProposals(IInvocationContext context, IProblemLocation problem, Collection proposals) throws CoreException {
		ICompilationUnit cu= context.getCompilationUnit();
		CompilationUnit astRoot= context.getASTRoot();
		ASTNode selectedNode= problem.getCoveringNode(astRoot);
		if (selectedNode == null) {
			return;
		}
		Expression qualifier= null;