public override bool select(Viewer viewer, Object parent, Object element)
 {
     if (element instanceof IFile)
     {
         var file = (IFile)element;
         if (!excludedFiles.contains(file))
         {
             var extension = file.getFullPath().getFileExtension();
             return("jar".equals(extension) || "zip".equals(extension));
         }
     }
		public static Iterable<IFile> getModifiedFiles(IResourceDelta delta, Iterable<String> extensions, Iterable<String> excludedFolders) {
			var result = new HashSet<IFile>();
			try {
				delta.accept(p => {
					var resource = p.getResource();
					switch (resource.getType()) {
					case IResource.FOLDER:
						return !excludedFolders.contains(resource.getProjectRelativePath().toPortableString());
					case IResource.FILE:
						var file = (IFile)resource;
						if (extensions.contains(file.getFileExtension())) {
							//if ((p.getFlags() & IResourceDelta.CONTENT) != 0 || (p.getFlags() & IResourceDelta.MARKERS) == 0) {
							result.add(file);
							//}
						}
						return false;
					}
					return true;
				});
			} catch (CoreException e) {
				Environment.logException(e);
			}
			return result;
		}
 bool method(Iterable <string> si)
 {
     return(si.all(s => strings.contains(s)));
 }