I want to build an array recursively I started this way and cant figure how to do it properly:

```
public class ConnectivityNode {
  private Server server;
  private ConnectivityNode parent;
  private ArrayList<ConnectivityNode> children;

...

  public Server[] getServerRoute(){
    if(this.parent == null) { return null; }
    return this.server + this.parent.getServerRoute(); //of course this isnt correct
  }
}

```

The idea is to get an array of `Server`s 

`{ parent.parent.server1, parent.server2, server3 }`