Mapper { @VisibleForOverride protected ArgumentType<?> type(ArgumentCommandNode<T, ?> command) { return command.getType(); }  CommandNode<R> map(CommandNode<T> command); static final Command<?> NONE; static final Predicate<?> TRUE; static final SuggestionProvider<?> EMPTY; }
@Test void type() { var argument = Argument.<String, String>builder("", StringArgumentType.word()).build(); assertEquals(argument.getType(), mapper.type(argument)); }