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
buffer.append("        private static final long serialVersionUID = 1L;\n"); 
				buffer.append("        public long var3;\n"); 
				buffer.append("    }\n"); 
				buffer.append("}\n"); 
				assertEqualString(preview, buffer.toString());
			}
		}
	}
	/**
	 * @throws Exception
	 */
	public void testOuterClass() throws Exception {
		IPackageFragment package1= fSourceFolder.createPackageFragment("test1", false, null); 
		StringBuffer buffer= new StringBuffer();
		buffer.append("package test1;\n"); 
		buffer.append("import java.io.Serializable;\n"); 
		buffer.append("public class Test1 implements Serializable {\n"); 
		buffer.append("    protected int var1;\n"); 
		buffer.append("    protected int var2;\n"); 
		buffer.append("}\n"); 
		ICompilationUnit unit1= package1.createCompilationUnit("Test1.java", buffer.toString(), false, null); 
		fProject.getProject().build(IncrementalProjectBuilder.FULL_BUILD, new NullProgressMonitor());
		CompilationUnit root1= getASTRoot(unit1);
		ArrayList proposals1= collectCorrections(unit1, root1);
		assertNumberOf("proposals1", proposals1.size(), 2); 
		assertCorrectLabels(proposals1);
		Object current= null;
		for (int index= 0; index < proposals1.size(); index++) {
			current= proposals1.get(index);
			if (current instanceof SerialVersionHashProposal) {