Extract inheritor candidate check into separate InheritanceChecker interface
fix couple of issues with https://github.com/JetBrains/intellij-community/pull/94