presto-main/src/main/java/io/prestosql/sql/analyzer/Analysis.java/Analysis/dereference
class Analysis:    private <T extends Node> List<T> dereference(Collection<NodeRef<T>> nodeRefs)
    {
        return nodeRefs.stream()
                .map(NodeRef::getNode)
                .collect(toImmutableList());
    }