public ClasspathModifierQueries.IOutputFolderQuery getOutputFolderQuery(IPath path2) throws JavaModelException {
public ClasspathModifierQueries.OutputFolderQuery getOutputFolderQuery(IPath path2) throws JavaModelException {
    public void testEditOutputFolderWithNullReturnAndProjAsRoot() throws JavaModelException, CoreException, InvocationTargetException, InterruptedException {        IPackageFragmentRoot root= createFragmentRootAndKeepProjAsRoot();        final IPath path= fProject.getPath().append("bin2");        ClasspathModifierQueries.IOutputLocationQuery query= new ClasspathModifierQueries.IOutputLocationQuery() {            public boolean doQuery(CPListElement element) {                return true;            }            public IPath getOutputLocation() {                return path;            }            public ClasspathModifierQueries.IOutputFolderQuery getOutputFolderQuery(IPath path2) throws JavaModelException {                return getOutputFolderQueryInternal(defaultOutputFolder);            }             };        CPListElementAttribute attribute= (CPListElementAttribute)executeOperation(IClasspathInformationProvider.CREATE_OUTPUT, root, null, query, null, null);                root= fProject.findPackageFragmentRoot(root.getPath());        assertTrue(root.getRawClasspathEntry().getOutputLocation().equals(path));        assertTrue(fProject.getOutputLocation().segmentCount() > 1);                query= new ClasspathModifierQueries.IOutputLocationQuery() {                        public boolean doQuery(CPListElement element) {                return true;            }            public IPath getOutputLocation() {                return null;            }            public ClasspathModifierQueries.IOutputFolderQuery getOutputFolderQuery(IPath path2) throws JavaModelException {                return getOutputFolderQueryToKeepProjAsRoot();            }              };        CPListElementAttribute newAttribute= (CPListElementAttribute)executeOperation(IClasspathInformationProvider.EDIT_OUTPUT, attribute, null, query, null, null);                assertTrue(root.getRawClasspathEntry().getOutputLocation() == null);        assertTrue(newAttribute.getValue() == null);        testProjectIsOnClasspath(true);                validateClasspath();      }