// compute a user-friendly location
IJavaElement element = JavaCore.create(resource);
- if (element instanceof org.eclipse.jdt.core.ICompilationUnit) { // try to find a finer grain element
- org.eclipse.jdt.core.ICompilationUnit unit = (org.eclipse.jdt.core.ICompilationUnit) element;
+ if (element instanceof net.sourceforge.phpdt.core.ICompilationUnit) { // try to find a finer grain element
+ net.sourceforge.phpdt.core.ICompilationUnit unit = (net.sourceforge.phpdt.core.ICompilationUnit) element;
IJavaElement fragment = unit.getElementAt(problem.getSourceStart());
if (fragment != null) element = fragment;
}