blob: cb20f9391b6a02ffcd09af0c344f07e095595876 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2010, 2018 Willink Transformations and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v20.html
*
* Contributors:
* E.D.Willink - Initial API and implementation
*******************************************************************************/
package org.eclipse.ocl.xtext.base.cs2as;
import java.util.List;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.jdt.annotation.NonNull;
import org.eclipse.ocl.pivot.Element;
public abstract class SingleContinuation<T extends EObject> extends BasicContinuation<T>
{
public SingleContinuation(@NonNull CS2ASConversion context, Element pivotParent, EStructuralFeature pivotFeature,
@NonNull T csElement, @NonNull Dependency... dependencies) {
super(context, pivotParent, pivotFeature, csElement, dependencies);
}
public SingleContinuation(@NonNull CS2ASConversion context, Element pivotParent, EStructuralFeature pivotFeature,
@NonNull T csElement, @NonNull List<@NonNull Dependency> dependencies) {
super(context, pivotParent, pivotFeature, csElement, dependencies.toArray(new @NonNull Dependency[dependencies.size()]));
}
}