boolean (PsiField field) { if (!field.hasModifierProperty(PsiModifier.FINAL)) { return false; } if (CollectionUtils.isEmptyArray(field)) { return true; } final PsiType type = field.getType(); return ClassUtils.isImmutable(type); }