public abstract class AbstractCollectorArgumentResolver<SENDER,E,COLLECTION> extends TypedArgumentResolver<SENDER,COLLECTION,CollectorArgument<COLLECTION>>
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractCollectorArgumentResolver(ParserRegistry<SENDER> parserRegistry,
SuggesterRegistry<SENDER> suggesterRegistry) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract java.lang.Class<E> |
getElementType(CollectorArgument<COLLECTION> context,
Invocation<SENDER> invocation) |
Range |
getTypedRange(CollectorArgument<COLLECTION> argument) |
ParseResult<COLLECTION> |
parseTyped(Invocation<SENDER> invocation,
CollectorArgument<COLLECTION> context,
RawInput rawInput) |
SuggestionResult |
suggestTyped(Invocation<SENDER> invocation,
CollectorArgument<COLLECTION> argument,
SuggestionContext context) |
getArgumentTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRange, parsecanParse, matchParsesuggestprotected AbstractCollectorArgumentResolver(ParserRegistry<SENDER> parserRegistry, SuggesterRegistry<SENDER> suggesterRegistry)
public ParseResult<COLLECTION> parseTyped(Invocation<SENDER> invocation, CollectorArgument<COLLECTION> context, RawInput rawInput)
public Range getTypedRange(CollectorArgument<COLLECTION> argument)
public SuggestionResult suggestTyped(Invocation<SENDER> invocation, CollectorArgument<COLLECTION> argument, SuggestionContext context)
protected abstract java.lang.Class<E> getElementType(CollectorArgument<COLLECTION> context, Invocation<SENDER> invocation)