Community
Participate
Working Groups
given the following type hierarchy interface I interface I1 class A implements I class B extends A implements I1 now, create a newSuperTypeHierarchy on B then ask for allSuperTypes of B the result includes neither I1 nor Object strangely enough, if A does not implement I, then getAllSupertypes(B) will return A, I1, Object
actually, the interface I is not even present in the hierarchy object at all. and both A and Obejct are 'root classes' that all sounds incorrect. do i have to create multiple hierarchies to get all supertypes of a type?
Sounds weird indeed.
This works for me. Released TypeHierarchyTests.testGetAllSupertypes2() to ensure it. Do you have more details?
Please reopen if you have more details.