presto-main/src/main/java/io/prestosql/metadata/DiscoveryNodeManager.java/DiscoveryNodeManager/getCurrentNode
class DiscoveryNodeManager:    @Override
    public InternalNode getCurrentNode()
    {
        return currentNode;
    }