void (@NotNull PsiMethodReferenceExpression expression) { super.visitMethodReferenceExpression(expression); if (!PsiMethodReferenceUtil.isStaticallyReferenced(expression) && isPerformedRepeatedlyInLoop(expression)) { registerError(expression, Kind.METHOD_REFERENCE); } }