boolean (PsiField field) { for (GetterSetterPrototypeProvider provider : EP_NAME.getExtensionList()) { if (provider.canGeneratePrototypeFor(field)) { return provider.isReadOnly(field); } } return field.hasModifierProperty(PsiModifier.FINAL); }