void () { configureByFile(getBasePath() + "OverridingLibrary.java"); PsiClass aThread = getJavaFacade().findClass("java.lang.Thread"); PsiMethod startMethod = aThread.findMethodsByName("start", false)[0]; PsiMethod sibling = FindSuperElementsHelper.getSiblingInheritedViaSubClass(startMethod); assertNotNull(sibling); Collection<PsiMethod> superMethods = SuperMethodWarningUtil.getSuperMethods(startMethod, aThread, Collections.emptyList()); assertEmpty(superMethods); }