@Override
    public void visitTypeDef(AntDomTypeDef typedef) {
      ProgressManager.checkCanceled();
      // if loaderRef attribute is specified, make sure the loader is built and stored
      rememberNamedClassLoader(typedef, myAntProject);
      defineCustomElements(typedef, myAntProject);
    }
@Override
    public void visitTypeDef(AntDomTypeDef typedef)