void (@NotNull PsiThisExpression expression) { if (!referencesStaticallyAccessible) { return; } super.visitThisExpression(expression); if (hasContainingClassQualifier(expression)) { referencesStaticallyAccessible = false; } }