void (@NotNull PsiMethodReferenceExpression expression) { super.visitMethodReferenceExpression(expression); if (PsiMethodReferenceUtil.isStaticallyReferenced(expression)) { PsiElement resolve = expression.resolve(); if (resolve instanceof PsiMethod) { checkCallOnSubclass((PsiMethod)resolve, expression); } } }