STS-3102: added general getSupertype to TypeHierarchyEngine