Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/JavaProject.java')
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/JavaProject.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/JavaProject.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/JavaProject.java
index 1d3104db..26635f10 100644
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/JavaProject.java
+++ b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/JavaProject.java
@@ -1168,7 +1168,7 @@ public class JavaProject
lookup.findType(
qualifiedName,
false,
- NameLookup.ACCEPT_ALL,
+ NameLookup.ACCEPT_CLASSES,
true/* consider secondary types */,
false/* do NOT wait for indexes */,
false/*don't check restrictions*/,
@@ -1277,7 +1277,7 @@ public class JavaProject
NameLookup.Answer answer = lookup.findType(
fullyQualifiedName,
false,
- NameLookup.ACCEPT_ALL,
+ NameLookup.ACCEPT_CLASSES,
considerSecondaryTypes,
true, /* wait for indexes (only if consider secondary types)*/
false/*don't check restrictions*/,
@@ -1321,7 +1321,7 @@ public class JavaProject
typeQualifiedName,
packageName,
false,
- NameLookup.ACCEPT_ALL,
+ NameLookup.ACCEPT_CLASSES,
considerSecondaryTypes,
true, // wait for indexes (in case we need to consider secondary types)
false/*don't check restrictions*/,

Back to the top