code: public void getTablesAndIndexes(Map<String, StmtTargetTableScan> tablesRead,
              Collection<String> indexes)
      {
          for (AbstractPlanNode node : m_inlineNodes.values()) {
              node.getTablesAndIndexes(tablesRead, indexes);
          }
          for (AbstractPlanNode node : m_children) {
              node.getTablesAndIndexes(tablesRead, indexes);
          }
          getTablesAndIndexesFromSubqueries(tablesRead, indexes);
      }
docs: Recursively build sets of tables read and index names used.
  
  @param tablesRead Set of table aliases read potentially added to at each recursive level.
  @param indexes Set of index names used in the plan tree
  Only the current fragment is of interest.