boolean (PsiField field) { if (!field.hasModifierProperty(PsiModifier.STATIC) || !field.hasModifierProperty(PsiModifier.FINAL)) { return false; } if (m_considerStaticFinalFieldsConstant) { return true; } return ClassUtils.isImmutable(field.getType()); }