code: protected TTTState<I, D> getAnyTarget(TTTTransition<I, D> trans) {
          if (trans.isTree()) {
              return trans.getTreeTarget();
          }
          return trans.getNonTreeTarget().anySubtreeState();
      }
docs: Retrieves the target state of a given transition. This method works for both tree and non-tree transitions. If a
  non-tree transition points to a non-leaf node, it is updated accordingly before a result is obtained.
  
  @param trans
  the transition
  
  @return the target state of this transition (possibly after it having been updated)