Bug 76530 [options] Warn about unused local variables and private members
I think we should warn about unused local variables and unused private members by default. These things are errors akin to unused imports, which we already warn about.
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/SerialVersionQuickFixTest.java
Object current= null;
		for (int index= 0; index < proposals2.size(); index++) {
			current= proposals2.get(index);
			if (current instanceof SerialVersionHashProposal) {
				SerialVersionHashProposal proposal= (SerialVersionHashProposal) current;
				String preview= getPreviewContent(proposal);
				buffer= new StringBuffer();
				buffer.append("package test2;\n"); 
				buffer.append("import java.io.Serializable;\n"); 
				buffer.append("public class Test2 {\n"); 
				buffer.append("    protected int var1;\n"); 
				buffer.append("    protected int var2;\n"); 
				buffer.append("    protected class Test1 implements Serializable {\n"); 
				buffer.append("        " + FIELD_COMMENT + "\n");
				buffer.append("        private static final long serialVersionUID = 0L;\n"); 
				buffer.append("        public long var3;\n"); 
				buffer.append("    }\n"); 
				buffer.append("}\n"); 
				assertEqualPreview(preview, buffer.toString());
			} else if (current instanceof SerialVersionDefaultProposal) {
				SerialVersionDefaultProposal proposal= (SerialVersionDefaultProposal) current;
				String preview= getPreviewContent(proposal);
				buffer= new StringBuffer();
				buffer.append("package test2;\n"); 
				buffer.append("import java.io.Serializable;\n"); 
				buffer.append("public class Test2 {\n"); 
				buffer.append("    protected int var1;\n"); 
				buffer.append("    protected int var2;\n"); 
				buffer.append("    protected class Test1 implements Serializable {\n"); 
				buffer.append("        " + FIELD_COMMENT + "\n");