class SpigotMapper extends Mapper<CommandSender, CommandListenerWrapper> {

    @Override
    protected Predicate<CommandListenerWrapper> requirement(CommandNode<CommandSender> command) {
        var requirement = command.getRequirement();
        return requirement == null ? (Predicate<CommandListenerWrapper>) TRUE : listener -> requirement.test(listener.getBukkitSender());
    }

      SpigotMapper(CommandDispatcher<CommandSender> dispatcher);

}