Author: akazakov
Date: 2007-11-06 07:02:25 -0500 (Tue, 06 Nov 2007)
New Revision: 4730
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/TypeInfoCollector.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1256 Fixed
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/TypeInfoCollector.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/TypeInfoCollector.java 2007-11-06
07:49:01 UTC (rev 4729)
+++
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/TypeInfoCollector.java 2007-11-06
12:02:25 UTC (rev 4730)
@@ -503,9 +503,9 @@
boolean isInstanceofType = qualifiedTypeName.equals(type.getFullyQualifiedName());
if (!isInstanceofType) {
ITypeHierarchy typeHierarchy = type.newSupertypeHierarchy(new NullProgressMonitor());
- IType[] superTypes = typeHierarchy == null ? null :
typeHierarchy.getSupertypes(type);
+ IType[] superTypes = typeHierarchy == null ? null :
typeHierarchy.getAllSupertypes(type);
for (int i = 0; !isInstanceofType && superTypes != null && i <
superTypes.length; i++) {
- if (qualifiedTypeName.equals(superTypes[i])) {
+ if (qualifiedTypeName.equals(superTypes[i].getFullyQualifiedName())) {
return true;
}
}