if (current.getType() == IResource.FILE) set.add(JavaCore.create(current.getParent())); else set.add(JavaCore.create(current));
if (current != null) { final int kind= current.getType(); if (kind == IResource.FILE) set.add(JavaCore.create(current.getParent())); else set.add(JavaCore.create(current)); }
							public final boolean visit(final IDiff diff) throws CoreException {								final IResource current= tree.getResource(diff);								if (current.getType() == IResource.FILE)									set.add(JavaCore.create(current.getParent()));								else									set.add(JavaCore.create(current));								return true;							}