void (@NotNull PsiField field) { super.visitField(field); if (!field.hasModifierProperty(PsiModifier.PRIVATE)) { return; } BuilderType type = getType(field); if (type == null) { return; } final PsiClass containingClass = PsiUtil.getTopLevelClass(field); PsiExpression firstQualifier = getFirstQualifier(field.getInitializer(), type); if (!checkVariable(field, firstQualifier, containingClass)) { return; } final boolean queried = isStringBuilderQueried(field, containingClass, type); final boolean updated = isStringBuilderUpdated(field, firstQualifier, containingClass, type); if (queried == updated || UnusedSymbolUtil.isImplicitWrite(field)) { return; } registerFieldError(field, Boolean.valueOf(updated), field.getType()); }