boolean (PsiField field, PsiClass aClass) { final PsiMethod[] constructors = aClass.getConstructors(); if (constructors.length == 0) { return false; } for (final PsiMethod constructor : constructors) { if (!methodAssignsVariableOrFails(constructor, field)) { return false; } } return true; }