✨ Register the Greedy string annotation mapper
This commit is contained in:
parent
eabdfe4243
commit
50dd6f0e85
1 changed files with 1 additions and 0 deletions
|
|
@ -83,6 +83,7 @@ public final class StandardParserRegistry<C> implements ParserRegistry<C> {
|
||||||
/* Register standard mappers */
|
/* Register standard mappers */
|
||||||
this.<Range, Number>registerAnnotationMapper(Range.class, new RangeMapper<>());
|
this.<Range, Number>registerAnnotationMapper(Range.class, new RangeMapper<>());
|
||||||
this.<Completions, String>registerAnnotationMapper(Completions.class, new CompletionsMapper());
|
this.<Completions, String>registerAnnotationMapper(Completions.class, new CompletionsMapper());
|
||||||
|
this.<Greedy, String>registerAnnotationMapper(Greedy.class, new GreedyMapper());
|
||||||
|
|
||||||
/* Register standard types */
|
/* Register standard types */
|
||||||
this.registerParserSupplier(TypeToken.get(Byte.class), options ->
|
this.registerParserSupplier(TypeToken.get(Byte.class), options ->
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue