Пример #1
0
  /*
   * (non-Javadoc)
   *
   * @see org.eclipse.ocl.utilities.AbstractVisitor#handleCollectionItem(org.eclipse.ocl.expressions.CollectionItem,
   * java.lang.Object)
   */
  @Override
  protected EPackage handleCollectionItem(CollectionItem<EClassifier> item, EPackage itemResult) {
    EClassifier newType = handle(item.getType());
    if (newType != null) {
      orgToCopy.put(item.getType(), newType);

      item.setType(newType);
    }
    return super.handleCollectionItem(item, itemResult);
  }