aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzzhongwei2012-09-12 03:07:21 (EDT)
committerzzhongwei2012-09-12 03:07:21 (EDT)
commitd58044fe05857e5342efa9df1373134fbcf9f7fc (patch)
tree2a250e196405853adb624c510ea362e7abad4d41
parent4178303aa2e8c8e623782acee339d60a88f5f90b (diff)
downloadorg.eclipse.pdt-d58044fe05857e5342efa9df1373134fbcf9f7fc.zip
org.eclipse.pdt-d58044fe05857e5342efa9df1373134fbcf9f7fc.tar.gz
org.eclipse.pdt-d58044fe05857e5342efa9df1373134fbcf9f7fc.tar.bz2
389376: add unimplemented methods(quick fix) does not add all methods
https://bugs.eclipse.org/bugs/show_bug.cgi?id=389376
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/model/PerFileModelAccessCache.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/model/PerFileModelAccessCache.java b/plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/model/PerFileModelAccessCache.java
index d54c7f3..f20445a 100644
--- a/plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/model/PerFileModelAccessCache.java
+++ b/plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/model/PerFileModelAccessCache.java
@@ -207,8 +207,9 @@ public class PerFileModelAccessCache implements IModelAccessCache {
IScriptProject scriptProject = sourceModule.getScriptProject();
IDLTKSearchScope scope = SearchEngine
.createSearchScope(scriptProject);
- types = Arrays.asList(PhpModelAccess.getDefault().findTypes(
- typeName, MatchRule.EXACT, 0, 0, scope, null));
+ types = Arrays.asList(PhpModelAccess.getDefault()
+ .findTypes(namespaceName, typeName, MatchRule.EXACT, 0, 0,
+ scope, null));
} else {
typeName = typeName.toLowerCase();