code: private TableAlias createTableAlias(String table, String path)
      {
          TableAlias alias;
  
          if (table == null)
          {
              getLogger().warn("Creating TableAlias without table for path: " + path);
          }
  
          String aliasName = String.valueOf(getAliasChar()) + m_aliasCount++; // + m_pathToAlias.size();
          alias = new TableAlias(table, aliasName);
          setTableAliasForPath(path, null, alias);        
          m_logger.debug("createTableAlias2: path: " + path + " tableAlias: " + alias);
  
          return alias;
      }
docs: Create new TableAlias for path
  @param table the table name
  @param path the path from the target table of the query to this TableAlias.