void (@NotNull PsiReferenceExpression expression) { super.visitReferenceExpression(expression); final PsiExpression qualifierExpression = expression.getQualifierExpression(); if (qualifierExpression != null) { return; } final PsiReferenceParameterList parameterList = expression.getParameterList(); if (parameterList == null) { return; } final PsiElement element = expression.resolve(); if (!(element instanceof PsiField field)) { return; } if (field.hasModifierProperty(PsiModifier.STATIC)) { return; } registerError(expression, expression, field); }