void (@NotNull RefMethod refMethod) { if (PsiModifier.PRIVATE.equals(refMethod.getAccessModifier())) return; if (descriptionsProcessor.getDescriptions(refMethod) != null) { //suspicious method -> need to check external usages final GlobalJavaInspectionContext.UsagesProcessor usagesProcessor = new GlobalJavaInspectionContext.UsagesProcessor() { @Override public boolean process(PsiReference psiReference) { final PsiReferenceExpression psiReferenceExpression = ObjectUtils.tryCast(psiReference.getElement(), PsiReferenceExpression.class); if (psiReferenceExpression == null) return false; PsiMethodCallExpression methodCallExpression = ObjectUtils.tryCast(psiReferenceExpression.getParent(), PsiMethodCallExpression.class); if (methodCallExpression != null && !isInvertedMethodCall(methodCallExpression, null)) { descriptionsProcessor.ignoreElement(refMethod); } return false; } }; traverseSuperMethods(refMethod, context, usagesProcessor); } }