public Optional<TemporaryNodeMergeStrategy> getTemporaryModifierAndRemove(int index) {
        if (indexOutOfBounds(index)) {
            return Optional.empty();
        }

        TemporaryNodeMergeStrategy strategy = parseTemporaryModifier(get(index));
        if (strategy == null) {
            return Optional.empty();
        }

        remove(index);
        return Optional.of(strategy);
    }
A list of {@link String} arguments, with extra methods to help
with parsing.
common/src/main/java/me/lucko/luckperms/common/command/utils/ArgumentList.java