@Override
    public void copyInheritanceNodesTo(Collection<? super InheritanceNode> collection) {
        for (SortedSet<InheritanceNode> values : inheritanceMap().values()) {
            collection.addAll(values);
        }
    }
Base implementation of {@link NodeMap} query methods.
common/src/main/java/me/lucko/luckperms/common/model/nodemap/NodeMapBase.java