boolean (@NotNull final PsiMethod caller, final UsageInfo[] usages) { for (UsageInfo usage : usages) { if (usage instanceof MethodCallUsageInfo && MethodSignatureUtil.isSuperMethod(((MethodCallUsageInfo)usage).getReferencedMethod(), caller)) { return true; } } return false; }