Self (final ElementPattern<String> namespace) { return with(new PatternConditionPlus<T, String>("withNamespace", namespace) { @Override public boolean processValues(T t, ProcessingContext context, PairProcessor<? super String, ? super ProcessingContext> processor) { return processor.process(getNamespace(t), context); } }); }