Check super type when detecting call to super