import net.sourceforge.phpdt.internal.compiler.util.ObjectVector;
import net.sourceforge.phpdt.internal.core.util.MementoTokenizer;
import net.sourceforge.phpdt.internal.core.util.Util;
-import net.sourceforge.phpdt.internal.corext.Assert;
+//incastrix
+//import net.sourceforge.phpdt.internal.corext.Assert;
+//import org.eclipse.core.runtime.Assert;
import net.sourceforge.phpeclipse.LoadPathEntry;
import net.sourceforge.phpeclipse.PHPeclipsePlugin;
import org.eclipse.core.resources.IWorkspace;
import org.eclipse.core.resources.IWorkspaceRoot;
import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.core.runtime.AssertionFailedException;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IProgressMonitor;
throw newNotPresentException();
}
- IWorkspace workspace = ResourcesPlugin.getWorkspace();
- IWorkspaceRoot wRoot = workspace.getRoot();
+ //IWorkspace workspace = ResourcesPlugin.getWorkspace();
+ //IWorkspaceRoot wRoot = workspace.getRoot();
// cannot refresh cp markers on opening (emulate cp check on startup)
// since can create deadlocks (see bug 37274)
// IClasspathEntry[] resolvedClasspath =
+ "/.classpath, will mark classpath as invalid"); //$NON-NLS-1$
}
return INVALID_CLASSPATH;
- } catch (Assert.AssertionFailedException e) {
+ } catch (/*Assert.*/AssertionFailedException e) {
// failed creating CP entries from file
if (createMarker && this.getProject().isAccessible()) {
this
String extension = path.getFileExtension();
if (extension == null) {
- String packageName = path.toString().replace(IPath.SEPARATOR, '.');
+ //String packageName = path.toString().replace(IPath.SEPARATOR, '.');
// IPackageFragment[] pkgFragments =
// getNameLookup().findPackageFragments(packageName, false);
public NameLookup newNameLookup(ICompilationUnit[] workingCopies)
throws JavaModelException {
- JavaProjectElementInfo info = getJavaProjectElementInfo();
+ //JavaProjectElementInfo info = getJavaProjectElementInfo();
// lock on the project info to avoid race condition while computing the
// pkg fragment roots and package fragment caches
// synchronized(info){