if (!(getElement() instanceof IJavaElement))
return Collections.EMPTY_LIST;
final List resources = new ArrayList();
JavaElementVisitor.accept(new JavaElementVisitor() {
protected boolean visit(IJavaProject javaProject)
{
return javaProject.getProject().getLocation() != null;
}
protected boolean visit(IPackageFragmentRoot packageFragmentRoot)