import net.sourceforge.phpdt.core.IParent;
import net.sourceforge.phpdt.core.ISourceReference;
import net.sourceforge.phpdt.core.JavaModelException;
+import net.sourceforge.phpdt.core.JavaCore;
import net.sourceforge.phpdt.internal.corext.util.JavaModelUtil;
-import net.sourceforge.phpeclipse.PHPCore;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IFolder;
// Included is a member of excluded, but since it is rendered as a source
// folder we have to exclude it as a normal child.
if (o instanceof IFolder) {
- IJavaElement element= PHPCore.create((IFolder)o);
+ IJavaElement element= JavaCore.create((IFolder)o);
if (element instanceof IPackageFragmentRoot && element.exists()) {
continue;
}
// try to map resources to the containing package fragment
if (element instanceof IResource) {
IResource parent= ((IResource)element).getParent();
- IJavaElement jParent= PHPCore.create(parent);
+ IJavaElement jParent= JavaCore.create(parent);
// http://bugs.eclipse.org/bugs/show_bug.cgi?id=31374
if (jParent != null && jParent.exists())
return jParent;