final FiltersState filtersState, final FILTER_STATE_TYPE type,
final int filterIdx, final M messageToStore,
final Appender<M> appender) {
if (messageToStore != null) {
final Operation operation = ctx.getOperation();
FilterStateElement elem = filtersState.get(operation, filterIdx);
if (elem != null) {
elem.set(type, messageToStore, appender);
} else {