public ClasspathModifierQueries.IOutputFolderQuery getOutputFolderQuery() {
public ClasspathModifierQueries.OutputFolderQuery getOutputFolderQuery() {
    protected Object executeOperation(int type, final Object selection, final ClasspathModifierQueries.IOutputFolderQuery outputQuery, final ClasspathModifierQueries.IOutputLocationQuery locationQuery, final ClasspathModifierQueries.IFolderCreationQuery creationQuery, final ClasspathModifierQueries.IInclusionExclusionQuery inclQuery) throws InvocationTargetException, InterruptedException {        final Object[] returnValue= {null};        IClasspathInformationProvider provider= new IClasspathInformationProvider() {            public void handleResult(List result, CoreException exception, int operationType) {                if (result.size() == 1)                    returnValue[0]= result.get(0);            }            public ISelection getSelection() {                List list= new ArrayList();                list.add(selection);                return new StructuredSelection(list);            }            public IJavaProject getJavaProject() {                return fProject;            }            public ClasspathModifierQueries.IOutputFolderQuery getOutputFolderQuery() {                return outputQuery;            }            public ClasspathModifierQueries.IInclusionExclusionQuery getInclusionExclusionQuery() {                return inclQuery;            }            public ClasspathModifierQueries.IOutputLocationQuery getOutputLocationQuery() {                return locationQuery;            }            public ClasspathModifierQueries.IFolderCreationQuery getFolderCreationQuery() {                return creationQuery;            }            public ILinkToQuery getLinkFolderQuery() throws JavaModelException {                // TODO Auto-generated method stub                return null;            }                        public IAddArchivesQuery getExternalArchivesQuery() throws JavaModelException {                // TODO Auto-generated method stub                return null;            }            public IAddLibrariesQuery getLibrariesQuery() throws JavaModelException {                return new IAddLibrariesQuery() {                    public IClasspathEntry[] doQuery(IJavaProject project, IClasspathEntry[] entries) {                        return new IClasspathEntry[] {(IClasspathEntry)selection};                    }                                    };            }            public void deleteCreatedResources() {                // TODO Auto-generated method stub                            }        };                ClasspathModifierOperation op= null;        switch(type) {            case IClasspathInformationProvider.CREATE_FOLDER: op= new CreateFolderOperation(null, provider); break;            case IClasspathInformationProvider.ADD_TO_BP: op= new AddToClasspathOperation(null, provider); break;            case IClasspathInformationProvider.REMOVE_FROM_BP: op= new RemoveFromClasspathOperation(null, provider); break;            case IClasspathInformationProvider.INCLUDE: op= new IncludeOperation(null, provider); break;            case IClasspathInformationProvider.UNINCLUDE: op= new UnincludeOperation(null, provider); break;            case IClasspathInformationProvider.EXCLUDE: op= new ExcludeOperation(null, provider); break;            case IClasspathInformationProvider.UNEXCLUDE: op= new UnexcludeOperation(null, provider); break;            case IClasspathInformationProvider.EDIT_FILTERS: op= new EditFiltersOperation(null, provider); break;            case IClasspathInformationProvider.EDIT_OUTPUT: op= new EditOutputFolderOperation(null, provider); break;            case IClasspathInformationProvider.RESET: op= new ResetOperation(null, provider); break;            case IClasspathInformationProvider.CREATE_OUTPUT: op= new CreateOutputFolderOperation(null, provider); break;            case IClasspathInformationProvider.ADD_LIB_TO_BP: op= new AddLibraryOperation(null, provider); break;        }                op.run(null);                return returnValue[0];    }