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/dialogs/NewProjectTestSetup.java
super(test);
        try {
            fAutobuilding= JavaProjectHelper.setAutoBuilding(false);
        } catch (CoreException e) {
            JavaPlugin.log(e);
        }
    }
    
    public IJavaProject getProject(IJavaProject currentProject) throws CoreException {
        String name= currentProject.getElementName();
        currentProject.getProject().delete(true, null);
        if (name.equals(WORKSPACE_PROJECT))
            return getWorkspaceProject();
        if (name.equals(WORKSPACE_PROJECT_SRC))
            return getWorkspaceProjectWithSrc();
        return null;
    }
    
    public IJavaProject getWorkspaceProject() {
        try {
            fWorkspaceProject= getProject(WORKSPACE_PROJECT, "");
            List cpEntries= new ArrayList();
            IPath projectPath= fWorkspaceProject.getProject().getFullPath();
            cpEntries.add(JavaCore.newSourceEntry(projectPath));
            cpEntries.addAll(Arrays.asList(getDefaultClasspath()));
            IClasspathEntry[] entries= (IClasspathEntry[]) cpEntries.toArray(new IClasspathEntry[cpEntries.size()]);
            fWorkspaceProject.setRawClasspath(entries, projectPath, new NullProgressMonitor());
        } catch (JavaModelException e) {
            JavaPlugin.log(e);
        } catch (CoreException e) {