Register the Greedy string annotation mapper

This commit is contained in:
jmp 2020-10-06 18:14:26 -07:00 committed by Alexander Söderberg
parent eabdfe4243
commit 50dd6f0e85

View file

@ -83,6 +83,7 @@ public final class StandardParserRegistry<C> implements ParserRegistry<C> {
/* Register standard mappers */
this.<Range, Number>registerAnnotationMapper(Range.class, new RangeMapper<>());
this.<Completions, String>registerAnnotationMapper(Completions.class, new CompletionsMapper());
this.<Greedy, String>registerAnnotationMapper(Greedy.class, new GreedyMapper());
/* Register standard types */
this.registerParserSupplier(TypeToken.get(Byte.class), options ->