void (@NotNull PsiAssignmentExpression expression) { PsiExpression lExpression = expression.getLExpression(); if (lExpression instanceof PsiReferenceExpression lExpr) { PsiElement lElement = lExpr.resolve(); if (!(lElement instanceof PsiField field)) { return; } PsiReference formReference = FormReferenceProvider.getFormReference(field); if (!(formReference instanceof FieldFormReference ref)) { return; } if (ref.isCustomCreate()) { return; } PsiMethod method = PsiTreeUtil.getParentOfType(expression, PsiMethod.class); if (method != null && AsmCodeGenerator.SETUP_METHOD_NAME.equals(method.getName())) { return; } holder.registerProblem(expression, UIDesignerBundle.message("inspection.bound.field.message")); } }