ITypeHierarchy hierarchy= getSuperTypeHierarchy(type); if (hierarchy != null) { if (Flags.isInterface(hierarchy.getCachedFlags((IType) element))) { return INTERFACE; } else { return CLASS; } }
return TYPE;
		public int category(Object element) {			if (element instanceof IType) {				IType type= (IType) element;				if (type.getElementName().length() == 0) {					return ANONYM;				}				ITypeHierarchy hierarchy= getSuperTypeHierarchy(type);				if (hierarchy != null) {					if (Flags.isInterface(hierarchy.getCachedFlags((IType) element))) {						return INTERFACE;					} else {						return CLASS;					}				}			}			return OTHER;		}