diff options
Diffstat (limited to 'plugins/toolsmiths/gmf-tooling/org.eclipse.papyrus.gmf.xpand/src/org/eclipse/papyrus/gmf/internal/xpand/xtend/ast/GenericExtension.java')
-rw-r--r-- | plugins/toolsmiths/gmf-tooling/org.eclipse.papyrus.gmf.xpand/src/org/eclipse/papyrus/gmf/internal/xpand/xtend/ast/GenericExtension.java | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/plugins/toolsmiths/gmf-tooling/org.eclipse.papyrus.gmf.xpand/src/org/eclipse/papyrus/gmf/internal/xpand/xtend/ast/GenericExtension.java b/plugins/toolsmiths/gmf-tooling/org.eclipse.papyrus.gmf.xpand/src/org/eclipse/papyrus/gmf/internal/xpand/xtend/ast/GenericExtension.java deleted file mode 100644 index a8fb88e9a4d..00000000000 --- a/plugins/toolsmiths/gmf-tooling/org.eclipse.papyrus.gmf.xpand/src/org/eclipse/papyrus/gmf/internal/xpand/xtend/ast/GenericExtension.java +++ /dev/null @@ -1,45 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2008, 2020 Borland Software Corp, CEA LIST and Artal - * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License 2.0 - * which accompanies this distribution, and is available at - * https://www.eclipse.org/legal/epl-2.0/ - * - * SPDX-License-Identifier: EPL-2.0 - * - * Contributors: - * Alexander Shatalin (Borland) - initial API and implementation - * Aurélien Didier (ARTAL) - aurelien.didier51@gmail.com - Bug 569174 - *******************************************************************************/ -package org.eclipse.papyrus.gmf.internal.xpand.xtend.ast; - -import java.util.List; -import java.util.Set; - -import org.eclipse.emf.ecore.EClassifier; -import org.eclipse.emf.ecore.EOperation; -import org.eclipse.papyrus.gmf.internal.xpand.model.AnalysationIssue; -import org.eclipse.papyrus.gmf.internal.xpand.model.ExecutionContext; - -public interface GenericExtension { - - String getName(); - - String getFileName(); - - EClassifier getContext(); - EOperation getOperation(); - - // XXX odd parameters param, as if return type may depend from them? - EClassifier getReturnType(final EClassifier[] parameters, ExecutionContext ctx, final Set<AnalysationIssue> issues); - - List<EClassifier> getParameterTypes(); - - List<String> getParameterNames(); - - void init(final ExecutionContext ctx); - - Object evaluate(final Object[] parameters, ExecutionContext ctx); - -} |