add support to return multiple bindings for findBinding
diff --git a/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/InMemoryNameEnvironment.java b/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/InMemoryNameEnvironment.java
index 665657a..5a1db6d 100644
--- a/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/InMemoryNameEnvironment.java
+++ b/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/InMemoryNameEnvironment.java
@@ -46,7 +46,7 @@
 		compoundTypeName[compoundTypeName.length - 1],
 		CharOperation.subarray(compoundTypeName, 0, compoundTypeName.length - 1),requestor);
 }
-public NameEnvironmentAnswer findBinding(char[] typeName, char[][] packageName, int type, ITypeRequestor requestor) {
+public NameEnvironmentAnswer findBinding(char[] typeName, char[][] packageName, int type, ITypeRequestor requestor, boolean returnMultiple, String excludePath) {
 	HashtableOfObject cus = (HashtableOfObject)this.compilationUnits.get(CharOperation.concatWith(packageName, '.'));
 	if (cus == null) {
 		return this.findTypeFromClassLibs(typeName, packageName,type,requestor);
@@ -59,7 +59,7 @@
 }
 
 public NameEnvironmentAnswer findType(char[] typeName, char[][] packageName, ITypeRequestor requestor) {
-	return findBinding(typeName, packageName, Binding.TYPE|Binding.PACKAGE,requestor);
+	return findBinding(typeName, packageName, Binding.TYPE|Binding.PACKAGE,requestor, false, null);
 //	HashtableOfObject cus = (HashtableOfObject)this.compilationUnits.get(CharOperation.concatWith(packageName, '.'));
 //	if (cus == null) {
 //		return this.findTypeFromClassLibs(typeName, packageName);
@@ -72,7 +72,7 @@
 }
 private NameEnvironmentAnswer findTypeFromClassLibs(char[] typeName, char[][] packageName, int type, ITypeRequestor requestor) {
 	for (int i = 0; i < this.classLibs.length; i++) {
-		NameEnvironmentAnswer answer = this.classLibs[i].findBinding(typeName, packageName, type,requestor);
+		NameEnvironmentAnswer answer = this.classLibs[i].findBinding(typeName, packageName, type,requestor, false, null);
 		if (answer != null) {
 			return answer;
 		}
diff --git a/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/InMemoryNameEnvironment.java b/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/InMemoryNameEnvironment.java
index 15440bc..467f5f3 100644
--- a/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/InMemoryNameEnvironment.java
+++ b/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/regression/InMemoryNameEnvironment.java
@@ -46,7 +46,7 @@
 		compoundTypeName[compoundTypeName.length - 1],
 		CharOperation.subarray(compoundTypeName, 0, compoundTypeName.length - 1),requestor);
 }
-public NameEnvironmentAnswer findBinding(char[] typeName, char[][] packageName, int type, ITypeRequestor requestor) {
+public NameEnvironmentAnswer findBinding(char[] typeName, char[][] packageName, int type, ITypeRequestor requestor, boolean returnMultiple, String excludePath) {
 	HashtableOfObject cus = (HashtableOfObject)this.compilationUnits.get(CharOperation.concatWith(packageName, '.'));
 	if (cus == null) {
 		return this.findTypeFromClassLibs(typeName, packageName,type,requestor);
@@ -59,7 +59,7 @@
 }
 
 public NameEnvironmentAnswer findType(char[] typeName, char[][] packageName, ITypeRequestor requestor) {
-	return findBinding(typeName, packageName, Binding.TYPE|Binding.PACKAGE,requestor);
+	return findBinding(typeName, packageName, Binding.TYPE|Binding.PACKAGE,requestor, false, null);
 //	HashtableOfObject cus = (HashtableOfObject)this.compilationUnits.get(CharOperation.concatWith(packageName, '.'));
 //	if (cus == null) {
 //		return this.findTypeFromClassLibs(typeName, packageName);
@@ -72,7 +72,7 @@
 }
 private NameEnvironmentAnswer findTypeFromClassLibs(char[] typeName, char[][] packageName, int type, ITypeRequestor requestor) {
 	for (int i = 0; i < this.classLibs.length; i++) {
-		NameEnvironmentAnswer answer = this.classLibs[i].findBinding(typeName, packageName, type,requestor);
+		NameEnvironmentAnswer answer = this.classLibs[i].findBinding(typeName, packageName, type,requestor, false, null);
 		if (answer != null) {
 			return answer;
 		}