public static Set<TokenType> exclude(final Set<TokenType> fullSet,
                                         final TokenType... excludedTypes) {
        final Set<TokenType> filteredSet = new HashSet<>(fullSet);
        NullSafe.asList(excludedTypes)
                .forEach(filteredSet::remove);
        return set(filteredSet);
    }
@return A set of {@link TokenType}s that are valid to appear in the query after tokenType.
stroom-query/stroom-query-api/src/main/java/stroom/query/api/token/TokenType.java