diff options
Diffstat (limited to 'extraplugins/codegen/org.eclipse.papyrus.cpp.profile/src/org/eclipse/papyrus/C_Cpp/util/C_CppSwitch.java')
-rw-r--r-- | extraplugins/codegen/org.eclipse.papyrus.cpp.profile/src/org/eclipse/papyrus/C_Cpp/util/C_CppSwitch.java | 54 |
1 files changed, 33 insertions, 21 deletions
diff --git a/extraplugins/codegen/org.eclipse.papyrus.cpp.profile/src/org/eclipse/papyrus/C_Cpp/util/C_CppSwitch.java b/extraplugins/codegen/org.eclipse.papyrus.cpp.profile/src/org/eclipse/papyrus/C_Cpp/util/C_CppSwitch.java index 55314a3e66e..505dbc09bd8 100644 --- a/extraplugins/codegen/org.eclipse.papyrus.cpp.profile/src/org/eclipse/papyrus/C_Cpp/util/C_CppSwitch.java +++ b/extraplugins/codegen/org.eclipse.papyrus.cpp.profile/src/org/eclipse/papyrus/C_Cpp/util/C_CppSwitch.java @@ -1,10 +1,22 @@ /** + * Copyright (c) 2013 CEA LIST + * + * All rights reserved. This program and the accompanying materials are + * made available under the terms of the Eclipse Public License v1.0 which + * accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + * */ package org.eclipse.papyrus.C_Cpp.util; import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.ecore.EPackage; + import org.eclipse.emf.ecore.util.Switch; + import org.eclipse.papyrus.C_Cpp.*; /** @@ -246,107 +258,107 @@ public class C_CppSwitch<T> extends Switch<T> { } /** - * Returns the result of interpreting the object as an instance of '<em>Array</em>'. + * Returns the result of interpreting the object as an instance of '<em>Extern Library</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Array</em>'. + * @return the result of interpreting the object as an instance of '<em>Extern Library</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ - public T caseArray(Array object) { + public T caseExternLibrary(ExternLibrary object) { return null; } /** - * Returns the result of interpreting the object as an instance of '<em>Const</em>'. + * Returns the result of interpreting the object as an instance of '<em>No Code Gen</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Const</em>'. + * @return the result of interpreting the object as an instance of '<em>No Code Gen</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ - public T caseConst(Const object) { + public T caseNoCodeGen(NoCodeGen object) { return null; } /** - * Returns the result of interpreting the object as an instance of '<em>Ref</em>'. + * Returns the result of interpreting the object as an instance of '<em>Cpp Root</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Ref</em>'. + * @return the result of interpreting the object as an instance of '<em>Cpp Root</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ - public T caseRef(Ref object) { + public T caseCppRoot(CppRoot object) { return null; } /** - * Returns the result of interpreting the object as an instance of '<em>External</em>'. + * Returns the result of interpreting the object as an instance of '<em>Array</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>External</em>'. + * @return the result of interpreting the object as an instance of '<em>Array</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ - public T caseExternal(External object) { + public T caseArray(Array object) { return null; } /** - * Returns the result of interpreting the object as an instance of '<em>Extern Library</em>'. + * Returns the result of interpreting the object as an instance of '<em>Const</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Extern Library</em>'. + * @return the result of interpreting the object as an instance of '<em>Const</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ - public T caseExternLibrary(ExternLibrary object) { + public T caseConst(Const object) { return null; } /** - * Returns the result of interpreting the object as an instance of '<em>Cpp Root</em>'. + * Returns the result of interpreting the object as an instance of '<em>Ref</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Cpp Root</em>'. + * @return the result of interpreting the object as an instance of '<em>Ref</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ - public T caseCppRoot(CppRoot object) { + public T caseRef(Ref object) { return null; } /** - * Returns the result of interpreting the object as an instance of '<em>No Code Gen</em>'. + * Returns the result of interpreting the object as an instance of '<em>External</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>No Code Gen</em>'. + * @return the result of interpreting the object as an instance of '<em>External</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ - public T caseNoCodeGen(NoCodeGen object) { + public T caseExternal(External object) { return null; } |