import java.util.ArrayList;
import net.sourceforge.phpdt.core.IClasspathEntry;
-import net.sourceforge.phpdt.core.IJavaProject;
+//import net.sourceforge.phpdt.core.IJavaProject;
import net.sourceforge.phpdt.core.JavaCore;
import net.sourceforge.phpdt.core.compiler.CharOperation;
import net.sourceforge.phpdt.internal.compiler.env.INameEnvironment;
import net.sourceforge.phpdt.internal.core.util.SimpleLookupTable;
import org.eclipse.core.resources.IContainer;
-import org.eclipse.core.resources.IFolder;
+//import org.eclipse.core.resources.IFolder;
import org.eclipse.core.resources.IMarker;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IWorkspaceRoot;
setNames(null, null);
}
- public NameEnvironment(IJavaProject javaProject) {
- this.isIncrementalBuild = false;
- try {
- computeClasspathLocations(javaProject.getProject().getWorkspace()
- .getRoot(), (JavaProject) javaProject, null);
- } catch (CoreException e) {
- // this.sourceLocations = new ClasspathMultiDirectory[0];
- // this.binaryLocations = new ClasspathLocation[0];
- }
- setNames(null, null);
- }
+// public NameEnvironment(IJavaProject javaProject) {
+// this.isIncrementalBuild = false;
+// try {
+// computeClasspathLocations(javaProject.getProject().getWorkspace()
+// .getRoot(), (JavaProject) javaProject, null);
+// } catch (CoreException e) {
+// // this.sourceLocations = new ClasspathMultiDirectory[0];
+// // this.binaryLocations = new ClasspathLocation[0];
+// }
+// setNames(null, null);
+// }
/*
* Some examples of resolved class path entries. Remember to search class
// binaryLocations[i].cleanup();
}
- private void createFolder(IContainer folder) throws CoreException {
- if (!folder.exists()) {
- createFolder(folder.getParent());
- ((IFolder) folder).create(true, true, null);
- }
- }
+// private void createFolder(IContainer folder) throws CoreException {
+// if (!folder.exists()) {
+// createFolder(folder.getParent());
+// ((IFolder) folder).create(true, true, null);
+// }
+// }
private NameEnvironmentAnswer findClass(String qualifiedTypeName,
char[] typeName) {