protected List createFolder(IFolderCreationQuery folderQuery, IOutputFolderQuery outputQuery, IJavaProject project, IProgressMonitor monitor) throws OperationCanceledException, CoreException{
protected List createFolder(IFolderCreationQuery folderQuery, OutputFolderQuery outputQuery, IJavaProject project, IProgressMonitor monitor) throws OperationCanceledException, CoreException{
    protected List createFolder(IFolderCreationQuery folderQuery, IOutputFolderQuery outputQuery, IJavaProject project, IProgressMonitor monitor) throws OperationCanceledException, CoreException{        if (folderQuery.doQuery()) {            IFolder folder= folderQuery.getCreatedFolder();            List folderList= new ArrayList();            folderList.add(folder);            if (folderQuery.isSourceFolder()) {                List root= addToClasspath(folderList, project, outputQuery, monitor);                if (root.size() == 0)                    folder.delete(false, null);                return root;            } else {                List entries= getExistingEntries(project);                exclude(folder.getFullPath(), entries, new ArrayList(), project, monitor);                updateClasspath(entries, project, null);            }            return folderList;        }        return new ArrayList();    }