void (Editor editor, ClassMember[] members, List<? extends GenerationInfo> generatedMembers) { super.notifyOnSuccess(editor, members, generatedMembers); if (Arrays.stream(members).anyMatch(fm -> fm instanceof PsiFieldMember && GetterSetterPrototypeProvider.isReadOnlyProperty(((PsiFieldMember)fm).getElement()))) { HintManager.getInstance().showErrorHint(editor, JavaBundle.message("generate.getter.and.setter.error.setters.for.read.only.not.generated"), HintManager.ABOVE); } }