From 5441a79ec5c8735369bf69733e8274a5a3fb151b Mon Sep 17 00:00:00 2001
From: Simon Barner <barner@fortiss.org>
Date: Thu, 7 Dec 2017 10:52:45 +0000
Subject: [PATCH] Use @deprecated (lower case 'd'!) to tag outdated classes
 such that their state is actually recognized by the Java compiler and a
 warning is generated.

---
 .../trunk/model/common.ecore                  |  26 ++---
 .../trunk/model/explorationDsl.ecore          | 104 +++++++++---------
 .../trunk/model/moea.ecore                    |  14 +--
 3 files changed, 72 insertions(+), 72 deletions(-)

diff --git a/org.fortiss.af3.exploration.alg/trunk/model/common.ecore b/org.fortiss.af3.exploration.alg/trunk/model/common.ecore
index f6d3fcc4..3e3e3a14 100644
--- a/org.fortiss.af3.exploration.alg/trunk/model/common.ecore
+++ b/org.fortiss.af3.exploration.alg/trunk/model/common.ecore
@@ -28,7 +28,7 @@
     </eClassifiers>
     <eClassifiers xsi:type="ecore:EClass" name="LocationConstraint" eSuperTypes="#//location/LocationDimension explorationDsl.ecore#//MOEAExplorationExpression">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY. {@link ExplorationConstraint} to define limitations on the location of requesters to resources, e.g., {@link Component}s to {@link IPlatformresource}s."/>
+        <details key="documentation" value="@deprecated {@link ExplorationConstraint} to define limitations on the location of requesters to resources, e.g., {@link Component}s to {@link IPlatformresource}s."/>
       </eAnnotations>
       <eTypeParameters name="LHT">
         <eBounds eClassifier="ecore:EClass platform:/resource/org.fortiss.tooling.base/model/base.ecore#//element/IModelElement"/>
@@ -38,14 +38,14 @@
       </eTypeParameters>
       <eOperations name="getLeftModelElement" lowerBound="1">
         <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-          <details key="documentation" value="DEPRECATED/LEGACY. Returns the left hand {@link IModelElement} referenced in the pattern of {@code this} constraint."/>
+          <details key="documentation" value="@deprecated Returns the left hand {@link IModelElement} referenced in the pattern of {@code this} constraint."/>
           <details key="body" value="return LocationConstraintStaticImpl.getLeftModelElement(this);"/>
         </eAnnotations>
         <eGenericType eTypeParameter="#//location/LocationConstraint/LHT"/>
       </eOperations>
       <eOperations name="getRightModelElement" lowerBound="1">
         <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-          <details key="documentation" value="DEPRECATED/LEGACY. Returns the right hand {@link IModelElement} referenced in the pattern of {@code this} constraint."/>
+          <details key="documentation" value="@deprecated Returns the right hand {@link IModelElement} referenced in the pattern of {@code this} constraint."/>
           <details key="body" value="return LocationConstraintStaticImpl.getRightModelElement(this);"/>
         </eAnnotations>
         <eGenericType eTypeParameter="#//location/LocationConstraint/RHT"/>
@@ -53,7 +53,7 @@
     </eClassifiers>
     <eClassifiers xsi:type="ecore:EClass" name="ComponentAllocationConstraint">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
       <eGenericSuperTypes eClassifier="#//location/LocationConstraint">
         <eTypeArguments eClassifier="ecore:EClass platform:/resource/org.fortiss.af3.component/model/component.ecore#//Component"/>
@@ -65,7 +65,7 @@
     </eClassifiers>
     <eClassifiers xsi:type="ecore:EClass" name="ComponentDislocationConstraint">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
       <eGenericSuperTypes eClassifier="#//location/LocationConstraint">
         <eTypeArguments eClassifier="ecore:EClass platform:/resource/org.fortiss.af3.component/model/component.ecore#//Component"/>
@@ -141,7 +141,7 @@
     </eClassifiers>
     <eClassifiers xsi:type="ecore:EClass" name="LatencyCalc">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
       <eGenericSuperTypes eClassifier="ecore:EClass explorationDsl.ecore#//expressions/ArithmeticExpression">
         <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDoubleObject"/>
@@ -149,7 +149,7 @@
     </eClassifiers>
     <eClassifiers xsi:type="ecore:EClass" name="DeadlineComp">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
       <eGenericSuperTypes eClassifier="ecore:EClass explorationDsl.ecore#//operators/ComparisonOp">
         <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDoubleObject"/>
@@ -161,36 +161,36 @@
     </eClassifiers>
     <eClassifiers xsi:type="ecore:EClass" name="PeriodConstraint">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
       <eOperations name="getLimitation" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDoubleObject">
         <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-          <details key="documentation" value="DEPRECATED/LEGACY."/>
+          <details key="documentation" value="@deprecated"/>
           <details key="body" value="return getPeriod();"/>
         </eAnnotations>
       </eOperations>
       <eOperations name="getComponent" lowerBound="1" eType="ecore:EClass platform:/resource/org.fortiss.af3.component/model/component.ecore#//Component">
         <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-          <details key="documentation" value="DEPRECATED/LEGACY. Returns the {@link Component} for which a defined period must hold."/>
+          <details key="documentation" value="@deprecated Returns the {@link Component} for which a defined period must hold."/>
           <details key="body" value="return PeriodConstraintStaticImpl.getComponent(this);"/>
         </eAnnotations>
       </eOperations>
       <eOperations name="setComponent" lowerBound="1">
         <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-          <details key="documentation" value="DEPRECATED/LEGACY. Sets the {@link Component} for which a defined period must hold, i.e. the {@link Component} must be scheduled within this time frame."/>
+          <details key="documentation" value="@deprecated Sets the {@link Component} for which a defined period must hold, i.e. the {@link Component} must be scheduled within this time frame."/>
           <details key="body" value="PeriodConstraintStaticImpl.setComponent(this, component);"/>
         </eAnnotations>
         <eParameters name="component" lowerBound="1" eType="ecore:EClass platform:/resource/org.fortiss.af3.component/model/component.ecore#//Component"/>
       </eOperations>
       <eOperations name="getPeriod" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDoubleObject">
         <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-          <details key="documentation" value="DEPRECATED/LEGACY. Returns the period value which is defined in {@code this} {@link ExplorationConstraint}."/>
+          <details key="documentation" value="@deprecated Returns the period value which is defined in {@code this} {@link ExplorationConstraint}."/>
           <details key="body" value="return PeriodConstraintStaticImpl.getPeriod(this);"/>
         </eAnnotations>
       </eOperations>
       <eOperations name="setPeriod" lowerBound="1">
         <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-          <details key="documentation" value="DEPRECATED/LEGACY. Sets the period which must be kept by this constraint's referenced {@link Component}, i.e. the {@link Component} must be scheduled within this time frame."/>
+          <details key="documentation" value="@deprecated Sets the period which must be kept by this constraint's referenced {@link Component}, i.e. the {@link Component} must be scheduled within this time frame."/>
           <details key="body" value="PeriodConstraintStaticImpl.setPeriod(this, period);"/>
         </eAnnotations>
         <eParameters name="period" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDoubleObject"/>
diff --git a/org.fortiss.af3.exploration.alg/trunk/model/explorationDsl.ecore b/org.fortiss.af3.exploration.alg/trunk/model/explorationDsl.ecore
index 349f46d9..6950a611 100644
--- a/org.fortiss.af3.exploration.alg/trunk/model/explorationDsl.ecore
+++ b/org.fortiss.af3.exploration.alg/trunk/model/explorationDsl.ecore
@@ -4,23 +4,23 @@
   <eClassifiers xsi:type="ecore:EClass" name="MOEAExplorationExpression" abstract="true"
       interface="true">
     <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-      <details key="documentation" value="DEPRECATED/LEGACY."/>
+      <details key="documentation" value="@deprecated"/>
     </eAnnotations>
     <eStructuralFeatures xsi:type="ecore:EReference" name="moeaExpression" eType="#//expressions/Expression"
         containment="true">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
     </eStructuralFeatures>
   </eClassifiers>
   <eSubpackages name="operators" nsURI="http://www.fortiss.org/af3/exploration/operators"
       nsPrefix="org-fortiss-af3-exploration-operators">
     <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-      <details key="documentation" value="DEPRECATED/LEGACY."/>
+      <details key="documentation" value="@deprecated"/>
     </eAnnotations>
     <eClassifiers xsi:type="ecore:EEnum" name="ArithmeticOperatorEnum">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
       <eLiterals name="ADD"/>
       <eLiterals name="SUB" value="1"/>
@@ -29,7 +29,7 @@
     </eClassifiers>
     <eClassifiers xsi:type="ecore:EEnum" name="BooleanOperatorEnum">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
       <eLiterals name="NOT"/>
       <eLiterals name="AND" value="1"/>
@@ -38,7 +38,7 @@
     </eClassifiers>
     <eClassifiers xsi:type="ecore:EEnum" name="ComparisonOperatorEnum">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
       <eLiterals name="LESS"/>
       <eLiterals name="LESS_OR_EQUAL" value="1"/>
@@ -48,21 +48,21 @@
     </eClassifiers>
     <eClassifiers xsi:type="ecore:EEnum" name="LocationOperatorEnum">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
       <eLiterals name="Allocation"/>
       <eLiterals name="Dislocation" value="1"/>
     </eClassifiers>
     <eClassifiers xsi:type="ecore:EEnum" name="OptimizationDirectionEnum">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
       <eLiterals name="MIN"/>
       <eLiterals name="MAX" value="1"/>
     </eClassifiers>
     <eClassifiers xsi:type="ecore:EEnum" name="QuantifierEnum">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
       <eLiterals name="FOR_ALL"/>
       <eLiterals name="EXIST" value="1"/>
@@ -70,7 +70,7 @@
     </eClassifiers>
     <eClassifiers xsi:type="ecore:EClass" name="Operator" abstract="true" interface="true">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
       <eTypeParameters name="OP"/>
       <eTypeParameters name="RHT"/>
@@ -87,7 +87,7 @@
     </eClassifiers>
     <eClassifiers xsi:type="ecore:EClass" name="DualOperator">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
       <eTypeParameters name="LHT"/>
       <eTypeParameters name="OP"/>
@@ -95,7 +95,7 @@
       <eStructuralFeatures xsi:type="ecore:EReference" name="left" lowerBound="1"
           containment="true">
         <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-          <details key="documentation" value="DEPRECATED/LEGACY."/>
+          <details key="documentation" value="@deprecated"/>
         </eAnnotations>
         <eGenericType eTypeParameter="#//operators/DualOperator/LHT"/>
       </eStructuralFeatures>
@@ -106,7 +106,7 @@
     </eClassifiers>
     <eClassifiers xsi:type="ecore:EClass" name="ArithmeticOp">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
       <eTypeParameters name="T"/>
       <eTypeParameters name="LHE">
@@ -130,7 +130,7 @@
     </eClassifiers>
     <eClassifiers xsi:type="ecore:EClass" name="ComparisonOp">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
       <eTypeParameters name="T"/>
       <eTypeParameters name="LHT">
@@ -156,7 +156,7 @@
     </eClassifiers>
     <eClassifiers xsi:type="ecore:EClass" name="LocationOp">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
       <eTypeParameters name="LHT">
         <eBounds eClassifier="ecore:EClass platform:/resource/org.fortiss.tooling.base/model/base.ecore#//element/IModelElement"/>
@@ -177,7 +177,7 @@
     </eClassifiers>
     <eClassifiers xsi:type="ecore:EClass" name="OptimizationDirection">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
       <eGenericSuperTypes eClassifier="#//operators/Operator">
         <eTypeArguments eClassifier="#//operators/OptimizationDirectionEnum"/>
@@ -188,7 +188,7 @@
     </eClassifiers>
     <eClassifiers xsi:type="ecore:EClass" name="QuantifierOp">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
       <eGenericSuperTypes eClassifier="#//operators/Operator">
         <eTypeArguments eClassifier="#//operators/QuantifierEnum"/>
@@ -199,7 +199,7 @@
     </eClassifiers>
     <eClassifiers xsi:type="ecore:EClass" name="SummationOp">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
       <eTypeParameters name="T"/>
       <eGenericSuperTypes eClassifier="#//operators/Operator">
@@ -217,17 +217,17 @@
       nsPrefix="org-fortiss-af3-exploration-expressions">
     <eClassifiers xsi:type="ecore:EClass" name="Expression" abstract="true" interface="true">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
     </eClassifiers>
     <eClassifiers xsi:type="ecore:EClass" name="ObjectiveExpression" eSuperTypes="#//expressions/Expression #//operators/OptimizationDirection">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
     </eClassifiers>
     <eClassifiers xsi:type="ecore:EClass" name="ConstraintExpression" eSuperTypes="#//expressions/Expression">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
       <eTypeParameters name="T">
         <eBounds eClassifier="#//expressions/BooleanExpression"/>
@@ -235,19 +235,19 @@
       <eStructuralFeatures xsi:type="ecore:EReference" name="prefix" lowerBound="1"
           upperBound="-1" eType="#//expressions/PrefixExpression" containment="true">
         <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-          <details key="documentation" value="DEPRECATED/LEGACY."/>
+          <details key="documentation" value="@deprecated"/>
         </eAnnotations>
       </eStructuralFeatures>
       <eStructuralFeatures xsi:type="ecore:EReference" name="predicate" upperBound="-1"
           eType="#//expressions/BooleanExpression" containment="true">
         <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-          <details key="documentation" value="DEPRECATED/LEGACY."/>
+          <details key="documentation" value="@deprecated"/>
         </eAnnotations>
       </eStructuralFeatures>
       <eStructuralFeatures xsi:type="ecore:EReference" name="expression" lowerBound="1"
           containment="true">
         <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-          <details key="documentation" value="DEPRECATED/LEGACY."/>
+          <details key="documentation" value="@deprecated"/>
         </eAnnotations>
         <eGenericType eTypeParameter="#//expressions/ConstraintExpression/T"/>
       </eStructuralFeatures>
@@ -255,17 +255,17 @@
     <eClassifiers xsi:type="ecore:EClass" name="PrefixExpression" abstract="true"
         interface="true" eSuperTypes="#//expressions/Expression">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
       <eStructuralFeatures xsi:type="ecore:EReference" name="quantifier" lowerBound="1"
           eType="#//operators/QuantifierOp" containment="true">
         <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-          <details key="documentation" value="DEPRECATED/LEGACY."/>
+          <details key="documentation" value="@deprecated"/>
         </eAnnotations>
       </eStructuralFeatures>
       <eStructuralFeatures xsi:type="ecore:EReference" name="set" lowerBound="1" containment="true">
         <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-          <details key="documentation" value="DEPRECATED/LEGACY."/>
+          <details key="documentation" value="@deprecated"/>
         </eAnnotations>
         <eGenericType eClassifier="#//types/SetType">
           <eTypeArguments/>
@@ -275,26 +275,26 @@
     <eClassifiers xsi:type="ecore:EClass" name="BooleanExpression" abstract="true"
         interface="true" eSuperTypes="#//expressions/Expression">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
     </eClassifiers>
     <eClassifiers xsi:type="ecore:EClass" name="ArithmeticExpression" abstract="true"
         interface="true" eSuperTypes="#//expressions/Expression">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
       <eTypeParameters name="T"/>
     </eClassifiers>
     <eClassifiers xsi:type="ecore:EClass" name="ElementExpression" eSuperTypes="#//expressions/Expression">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
       <eTypeParameters name="ME">
         <eBounds eClassifier="ecore:EClass platform:/resource/org.fortiss.tooling.base/model/base.ecore#//element/IModelElement"/>
       </eTypeParameters>
       <eStructuralFeatures xsi:type="ecore:EReference" name="modelElement">
         <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-          <details key="documentation" value="DEPRECATED/LEGACY."/>
+          <details key="documentation" value="@deprecated"/>
         </eAnnotations>
         <eGenericType eTypeParameter="#//expressions/ElementExpression/ME"/>
       </eStructuralFeatures>
@@ -304,14 +304,14 @@
       nsPrefix="org-fortiss-af3-exploration-patterns">
     <eClassifiers xsi:type="ecore:EDataType" name="Function" instanceClassName="java.util.function.Function">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
       <eTypeParameters name="T"/>
       <eTypeParameters name="R"/>
     </eClassifiers>
     <eClassifiers xsi:type="ecore:EClass" name="LocationPattern">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
       <eTypeParameters name="LHT">
         <eBounds eClassifier="ecore:EClass platform:/resource/org.fortiss.tooling.base/model/base.ecore#//element/IModelElement"/>
@@ -328,7 +328,7 @@
     </eClassifiers>
     <eClassifiers xsi:type="ecore:EClass" name="ElementProperty">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
       <eTypeParameters name="ME">
         <eBounds eClassifier="ecore:EClass platform:/resource/org.fortiss.tooling.base/model/base.ecore#//element/IModelElement"/>
@@ -336,19 +336,19 @@
       <eTypeParameters name="T"/>
       <eOperations name="getProperty" lowerBound="1">
         <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-          <details key="documentation" value="DEPRECATED/LEGACY."/>
+          <details key="documentation" value="@deprecated"/>
         </eAnnotations>
         <eGenericType eTypeParameter="#//patterns/ElementProperty/T"/>
       </eOperations>
       <eStructuralFeatures xsi:type="ecore:EReference" name="modelElement" lowerBound="1">
         <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-          <details key="documentation" value="DEPRECATED/LEGACY."/>
+          <details key="documentation" value="@deprecated"/>
         </eAnnotations>
         <eGenericType eTypeParameter="#//patterns/ElementProperty/ME"/>
       </eStructuralFeatures>
       <eStructuralFeatures xsi:type="ecore:EAttribute" name="propertyGetter" lowerBound="1">
         <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-          <details key="documentation" value="DEPRECATED/LEGACY."/>
+          <details key="documentation" value="@deprecated"/>
         </eAnnotations>
         <eGenericType eClassifier="#//patterns/Function">
           <eTypeArguments eTypeParameter="#//patterns/ElementProperty/ME"/>
@@ -361,7 +361,7 @@
     </eClassifiers>
     <eClassifiers xsi:type="ecore:EClass" name="LocationProperty">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
       <eTypeParameters name="LA">
         <eBounds eClassifier="ecore:EClass platform:/resource/org.fortiss.tooling.base/model/base.ecore#//element/IModelElement"/>
@@ -373,7 +373,7 @@
       <eStructuralFeatures xsi:type="ecore:EReference" name="locOp" lowerBound="1"
           containment="true">
         <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-          <details key="documentation" value="DEPRECATED/LEGACY."/>
+          <details key="documentation" value="@deprecated"/>
         </eAnnotations>
         <eGenericType eClassifier="#//operators/LocationOp">
           <eTypeArguments eTypeParameter="#//patterns/LocationProperty/LA"/>
@@ -386,7 +386,7 @@
     </eClassifiers>
     <eClassifiers xsi:type="ecore:EClass" name="ValueComparison">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
       <eTypeParameters name="T"/>
       <eTypeParameters name="AE">
@@ -404,7 +404,7 @@
     </eClassifiers>
     <eClassifiers xsi:type="ecore:EClass" name="SinglePropValueComparison">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
       <eTypeParameters name="T"/>
       <eTypeParameters name="ME">
@@ -420,7 +420,7 @@
     </eClassifiers>
     <eClassifiers xsi:type="ecore:EClass" name="TwoPropertyValueComparison">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
       <eTypeParameters name="T"/>
       <eTypeParameters name="LME">
@@ -440,7 +440,7 @@
     </eClassifiers>
     <eClassifiers xsi:type="ecore:EClass" name="TwoPropCalcExpression">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
       <eTypeParameters name="T"/>
       <eTypeParameters name="LME">
@@ -466,12 +466,12 @@
       nsPrefix="org-fortiss-af3-exploration-types">
     <eClassifiers xsi:type="ecore:EClass" name="NumberLiteral">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
       <eTypeParameters name="T"/>
       <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" lowerBound="1">
         <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-          <details key="documentation" value="DEPRECATED/LEGACY."/>
+          <details key="documentation" value="@deprecated"/>
         </eAnnotations>
         <eGenericType eTypeParameter="#//types/NumberLiteral/T"/>
       </eStructuralFeatures>
@@ -481,7 +481,7 @@
     </eClassifiers>
     <eClassifiers xsi:type="ecore:EClass" name="RealLiteral">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
       <eGenericSuperTypes eClassifier="#//types/NumberLiteral">
         <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBigDecimal"/>
@@ -489,7 +489,7 @@
     </eClassifiers>
     <eClassifiers xsi:type="ecore:EClass" name="IntegerLiteral">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
       <eGenericSuperTypes eClassifier="#//types/NumberLiteral">
         <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBigInteger"/>
@@ -497,19 +497,19 @@
     </eClassifiers>
     <eClassifiers xsi:type="ecore:EClass" name="Variable">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
       <eTypeParameters name="T"/>
       <eStructuralFeatures xsi:type="ecore:EAttribute" name="value">
         <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-          <details key="documentation" value="DEPRECATED/LEGACY."/>
+          <details key="documentation" value="@deprecated"/>
         </eAnnotations>
         <eGenericType eTypeParameter="#//types/Variable/T"/>
       </eStructuralFeatures>
     </eClassifiers>
     <eClassifiers xsi:type="ecore:EClass" name="ArithmeticVariable">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
       <eTypeParameters name="T"/>
       <eGenericSuperTypes eClassifier="#//types/Variable">
@@ -521,7 +521,7 @@
     </eClassifiers>
     <eClassifiers xsi:type="ecore:EClass" name="SetType">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
       <eTypeParameters name="T"/>
       <eGenericSuperTypes eClassifier="#//types/Variable">
@@ -530,7 +530,7 @@
     </eClassifiers>
     <eClassifiers xsi:type="ecore:EClass" name="ModelElementVariable">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
       <eTypeParameters name="ME">
         <eBounds eClassifier="ecore:EClass platform:/resource/org.fortiss.tooling.base/model/base.ecore#//element/IModelElement"/>
diff --git a/org.fortiss.af3.exploration.alg/trunk/model/moea.ecore b/org.fortiss.af3.exploration.alg/trunk/model/moea.ecore
index 5dc4aa57..cea982e5 100644
--- a/org.fortiss.af3.exploration.alg/trunk/model/moea.ecore
+++ b/org.fortiss.af3.exploration.alg/trunk/model/moea.ecore
@@ -178,7 +178,7 @@
     </eClassifiers>
     <eClassifiers xsi:type="ecore:EClass" name="ReliabilityAnalysis">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
       <eGenericSuperTypes eClassifier="ecore:EClass explorationDsl.ecore#//expressions/ArithmeticExpression">
         <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDoubleObject"/>
@@ -200,7 +200,7 @@
     </eClassifiers>
     <eClassifiers xsi:type="ecore:EClass" name="MultiLocationConstraint">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
       <eTypeParameters name="LHT">
         <eBounds eClassifier="ecore:EClass platform:/resource/org.fortiss.tooling.base/model/base.ecore#//element/IModelElement"/>
@@ -227,7 +227,7 @@
       <eStructuralFeatures xsi:type="ecore:EReference" name="singleLocationConstraints"
           lowerBound="1" upperBound="-1">
         <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-          <details key="documentation" value="DEPRECATED/LEGACY. Defines the list of {@link LocationConstraint}s comprising {@code this} constraint."/>
+          <details key="documentation" value="@deprecated Defines the list of {@link LocationConstraint}s comprising {@code this} constraint."/>
         </eAnnotations>
         <eGenericType eClassifier="ecore:EClass common.ecore#//location/LocationConstraint">
           <eTypeArguments eTypeParameter="#//predefined/MultiLocationConstraint/LHT"/>
@@ -241,7 +241,7 @@
     </eClassifiers>
     <eClassifiers xsi:type="ecore:EClass" name="ComponentMultiAllocationConstraint">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY. Defines to which {@link ExecutionUnit}s a {@link Component} may be allocated to."/>
+        <details key="documentation" value="@deprecated Defines to which {@link ExecutionUnit}s a {@link Component} may be allocated to."/>
       </eAnnotations>
       <eOperations name="setComponentMultiAllocations" lowerBound="1">
         <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
@@ -280,7 +280,7 @@
     </eClassifiers>
     <eClassifiers xsi:type="ecore:EClass" name="ComponentMultiDislocationConstraint">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY. Defines to which {@link ExecutionUnit}s a {@link Component} may be &lt;b>NOT&lt;/b> allocated to."/>
+        <details key="documentation" value="@deprecated Defines to which {@link ExecutionUnit}s a {@link Component} may be &lt;b>NOT&lt;/b> allocated to."/>
       </eAnnotations>
       <eOperations name="setComponentMultiDislocations" lowerBound="1">
         <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
@@ -319,7 +319,7 @@
     </eClassifiers>
     <eClassifiers xsi:type="ecore:EClass" name="SafetyIntegrityLevelConstraint">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY. Defines for which {@link Component}s their specified SIL must be considered in the evaluation."/>
+        <details key="documentation" value="@deprecated Defines for which {@link Component}s their specified SIL must be considered in the evaluation."/>
       </eAnnotations>
       <eOperations name="getLimitation" lowerBound="1">
         <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
@@ -344,7 +344,7 @@
     </eClassifiers>
     <eClassifiers xsi:type="ecore:EClass" name="SafetyComparison">
       <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
-        <details key="documentation" value="DEPRECATED/LEGACY."/>
+        <details key="documentation" value="@deprecated"/>
       </eAnnotations>
       <eTypeParameters name="T"/>
       <eGenericSuperTypes eClassifier="ecore:EClass explorationDsl.ecore#//operators/ComparisonOp">
-- 
GitLab