/**
   * Constructs a <code>TreeMappingAdapter</code> for the specified tree root.
   *
   * @param theTreeRoot the tree root
   */
  public TreeMappingAdapter(EObject theTreeRoot) {
    // startTracking("TreeMappingAdapter()"); //$NON-NLS-1$
    CoreArgCheck.isNotNull(theTreeRoot);

    mappingLocator = new TreeMappingClassLocator(theTreeRoot);

    root = theTreeRoot;

    mappingLocator.loadTreeNodesToMappingClassScopeMap();

    // stopTracking("TreeMappingAdapter()"); //$NON-NLS-1$
  }