public abstract class AbstractCollectorArgumentResolver<SENDER,COLLECTION> extends ProfiledMultipleArgumentResolver<SENDER,COLLECTION,VarargsProfile>
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractCollectorArgumentResolver(ParserRegistry<SENDER> parserRegistry,
SuggesterRegistry<SENDER> suggesterRegistry) |
| Modifier and Type | Method and Description |
|---|---|
protected <E> TypeToken<E> |
getElementType(VarargsProfile varargsProfile) |
Range |
getRange(Argument<COLLECTION> argument,
VarargsProfile varargsProfile) |
boolean |
match(Invocation<SENDER> invocation,
Argument<COLLECTION> context,
RawInput input,
VarargsProfile collectionArgument) |
protected ParseResult<COLLECTION> |
parse(Invocation<SENDER> invocation,
Argument<COLLECTION> context,
RawInput rawInput,
VarargsProfile collectionArgument) |
SuggestionResult |
suggest(Invocation<SENDER> invocation,
Argument<COLLECTION> argument,
SuggestionContext context,
VarargsProfile varargsProfile) |
protected AbstractCollectorArgumentResolver(ParserRegistry<SENDER> parserRegistry, SuggesterRegistry<SENDER> suggesterRegistry)
protected ParseResult<COLLECTION> parse(Invocation<SENDER> invocation, Argument<COLLECTION> context, RawInput rawInput, VarargsProfile collectionArgument)
parse in class ProfiledMultipleArgumentResolver<SENDER,COLLECTION,VarargsProfile>public boolean match(Invocation<SENDER> invocation, Argument<COLLECTION> context, RawInput input, VarargsProfile collectionArgument)
match in class ProfiledMultipleArgumentResolver<SENDER,COLLECTION,VarargsProfile>public Range getRange(Argument<COLLECTION> argument, VarargsProfile varargsProfile)
getRange in class ProfiledMultipleArgumentResolver<SENDER,COLLECTION,VarargsProfile>public SuggestionResult suggest(Invocation<SENDER> invocation, Argument<COLLECTION> argument, SuggestionContext context, VarargsProfile varargsProfile)
suggest in class ProfiledMultipleArgumentResolver<SENDER,COLLECTION,VarargsProfile>protected <E> TypeToken<E> getElementType(VarargsProfile varargsProfile)