boolean (@NotNull PsiField field) { final PsiClass aClass = field.getContainingClass(); if (aClass == null) { return false; } if (InitializationUtils.isInitializedInInitializer(field, aClass)) { return true; } final PsiField[] fields = aClass.getFields(); for (PsiField otherField : fields) { if (field.equals(otherField)) { continue; } if (otherField.hasModifierProperty(PsiModifier.STATIC)) { continue; } final PsiExpression initializer = otherField.getInitializer(); if (InitializationUtils.expressionAssignsVariableOrFails(initializer, field)) { return true; } } return false; }