String () { @NonNls final String what; if (myCreateGetter && myCreateSetter) { what = "create.getter.and.setter.for.field"; } else if (myCreateGetter) { what = "create.getter.for.field"; } else if (myCreateSetter) { what = "create.setter.for.field"; } else { throw new IllegalStateException("Either createGetter or createSetter must be true"); } return QuickFixBundle.message(what, myField.getName()); }