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("    public void test() {\n"); 
				buffer.append("        Serializable var3= new Serializable() {\n"); 
				buffer.append("            " + FIELD_COMMENT + "\n");
				buffer.append("            private static final long serialVersionUID = 1L;\n"); 
				buffer.append("            int var4;\n"); 
				buffer.append("        };\n"); 
				buffer.append("    }\n"); 
				buffer.append("}\n"); 
				assertEqualString(preview, buffer.toString());
			}
		}
	}