class MortarScopeDevHelper {

  public static String scopeHierarchyToString(MortarScope mortarScope) {
    StringBuilder result = new StringBuilder("Mortar Hierarchy:\n");
    MortarScope rootScope = getRootScope(mortarScope);
    Node rootNode = new MortarScopeNode(rootScope);
    nodeHierarchyToString(result, 0, 0, rootNode);
    return result.toString();
  }

  private  MortarScopeDevHelper();

}