aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzzhongwei2012-11-21 03:59:04 (EST)
committerzzhongwei2012-11-21 03:59:04 (EST)
commit2d25e46f3ef4881c2ca5d62917bb16edcb0daee3 (patch)
treec68b9c9b93af2fa149014162533f990dd827d3b3
parent551de816eee9fbf0518ca8cc4ee16adc66ad8043 (diff)
downloadorg.eclipse.pdt-2d25e46f3ef4881c2ca5d62917bb16edcb0daee3.zip
org.eclipse.pdt-2d25e46f3ef4881c2ca5d62917bb16edcb0daee3.tar.gz
org.eclipse.pdt-2d25e46f3ef4881c2ca5d62917bb16edcb0daee3.tar.bz2
394745: [Internal]PHPModelUtils.getUnimplementedMethods does not support
php54 trait https://bugs.eclipse.org/bugs/show_bug.cgi?id=394745
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/typeinference/PHPModelUtils.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/typeinference/PHPModelUtils.java b/plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/typeinference/PHPModelUtils.java
index 3c17110..ad1cbfa 100644
--- a/plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/typeinference/PHPModelUtils.java
+++ b/plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/typeinference/PHPModelUtils.java
@@ -1919,7 +1919,8 @@ public class PHPModelUtils {
throws ModelException {
int typeFlags = type.getFlags();
- for (IMethod method : type.getMethods()) {
+ IMethod[] methods = getTypeMethod(type, "", false);
+ for (IMethod method : methods) {
String methodName = method.getElementName();
int methodFlags = method.getFlags();
boolean isAbstract = PHPFlags.isAbstract(methodFlags);