Skip to content
Snippets Groups Projects
Commit 5441a79e authored by Simon Barner's avatar Simon Barner
Browse files

Use @deprecated (lower case 'd'!) to tag outdated classes such that their...

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.
parent 7587f7a9
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
</eClassifiers> </eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="LocationConstraint" eSuperTypes="#//location/LocationDimension explorationDsl.ecore#//MOEAExplorationExpression"> <eClassifiers xsi:type="ecore:EClass" name="LocationConstraint" eSuperTypes="#//location/LocationDimension explorationDsl.ecore#//MOEAExplorationExpression">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> <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> </eAnnotations>
<eTypeParameters name="LHT"> <eTypeParameters name="LHT">
<eBounds eClassifier="ecore:EClass platform:/resource/org.fortiss.tooling.base/model/base.ecore#//element/IModelElement"/> <eBounds eClassifier="ecore:EClass platform:/resource/org.fortiss.tooling.base/model/base.ecore#//element/IModelElement"/>
...@@ -38,14 +38,14 @@ ...@@ -38,14 +38,14 @@
</eTypeParameters> </eTypeParameters>
<eOperations name="getLeftModelElement" lowerBound="1"> <eOperations name="getLeftModelElement" lowerBound="1">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> <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);"/> <details key="body" value="return LocationConstraintStaticImpl.getLeftModelElement(this);"/>
</eAnnotations> </eAnnotations>
<eGenericType eTypeParameter="#//location/LocationConstraint/LHT"/> <eGenericType eTypeParameter="#//location/LocationConstraint/LHT"/>
</eOperations> </eOperations>
<eOperations name="getRightModelElement" lowerBound="1"> <eOperations name="getRightModelElement" lowerBound="1">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> <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);"/> <details key="body" value="return LocationConstraintStaticImpl.getRightModelElement(this);"/>
</eAnnotations> </eAnnotations>
<eGenericType eTypeParameter="#//location/LocationConstraint/RHT"/> <eGenericType eTypeParameter="#//location/LocationConstraint/RHT"/>
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
</eClassifiers> </eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ComponentAllocationConstraint"> <eClassifiers xsi:type="ecore:EClass" name="ComponentAllocationConstraint">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value="DEPRECATED/LEGACY."/> <details key="documentation" value="@deprecated"/>
</eAnnotations> </eAnnotations>
<eGenericSuperTypes eClassifier="#//location/LocationConstraint"> <eGenericSuperTypes eClassifier="#//location/LocationConstraint">
<eTypeArguments eClassifier="ecore:EClass platform:/resource/org.fortiss.af3.component/model/component.ecore#//Component"/> <eTypeArguments eClassifier="ecore:EClass platform:/resource/org.fortiss.af3.component/model/component.ecore#//Component"/>
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
</eClassifiers> </eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ComponentDislocationConstraint"> <eClassifiers xsi:type="ecore:EClass" name="ComponentDislocationConstraint">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value="DEPRECATED/LEGACY."/> <details key="documentation" value="@deprecated"/>
</eAnnotations> </eAnnotations>
<eGenericSuperTypes eClassifier="#//location/LocationConstraint"> <eGenericSuperTypes eClassifier="#//location/LocationConstraint">
<eTypeArguments eClassifier="ecore:EClass platform:/resource/org.fortiss.af3.component/model/component.ecore#//Component"/> <eTypeArguments eClassifier="ecore:EClass platform:/resource/org.fortiss.af3.component/model/component.ecore#//Component"/>
...@@ -141,7 +141,7 @@ ...@@ -141,7 +141,7 @@
</eClassifiers> </eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="LatencyCalc"> <eClassifiers xsi:type="ecore:EClass" name="LatencyCalc">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value="DEPRECATED/LEGACY."/> <details key="documentation" value="@deprecated"/>
</eAnnotations> </eAnnotations>
<eGenericSuperTypes eClassifier="ecore:EClass explorationDsl.ecore#//expressions/ArithmeticExpression"> <eGenericSuperTypes eClassifier="ecore:EClass explorationDsl.ecore#//expressions/ArithmeticExpression">
<eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDoubleObject"/> <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDoubleObject"/>
...@@ -149,7 +149,7 @@ ...@@ -149,7 +149,7 @@
</eClassifiers> </eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="DeadlineComp"> <eClassifiers xsi:type="ecore:EClass" name="DeadlineComp">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value="DEPRECATED/LEGACY."/> <details key="documentation" value="@deprecated"/>
</eAnnotations> </eAnnotations>
<eGenericSuperTypes eClassifier="ecore:EClass explorationDsl.ecore#//operators/ComparisonOp"> <eGenericSuperTypes eClassifier="ecore:EClass explorationDsl.ecore#//operators/ComparisonOp">
<eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDoubleObject"/> <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDoubleObject"/>
...@@ -161,36 +161,36 @@ ...@@ -161,36 +161,36 @@
</eClassifiers> </eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="PeriodConstraint"> <eClassifiers xsi:type="ecore:EClass" name="PeriodConstraint">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value="DEPRECATED/LEGACY."/> <details key="documentation" value="@deprecated"/>
</eAnnotations> </eAnnotations>
<eOperations name="getLimitation" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDoubleObject"> <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"> <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();"/> <details key="body" value="return getPeriod();"/>
</eAnnotations> </eAnnotations>
</eOperations> </eOperations>
<eOperations name="getComponent" lowerBound="1" eType="ecore:EClass platform:/resource/org.fortiss.af3.component/model/component.ecore#//Component"> <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"> <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);"/> <details key="body" value="return PeriodConstraintStaticImpl.getComponent(this);"/>
</eAnnotations> </eAnnotations>
</eOperations> </eOperations>
<eOperations name="setComponent" lowerBound="1"> <eOperations name="setComponent" lowerBound="1">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> <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);"/> <details key="body" value="PeriodConstraintStaticImpl.setComponent(this, component);"/>
</eAnnotations> </eAnnotations>
<eParameters name="component" lowerBound="1" eType="ecore:EClass platform:/resource/org.fortiss.af3.component/model/component.ecore#//Component"/> <eParameters name="component" lowerBound="1" eType="ecore:EClass platform:/resource/org.fortiss.af3.component/model/component.ecore#//Component"/>
</eOperations> </eOperations>
<eOperations name="getPeriod" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDoubleObject"> <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"> <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);"/> <details key="body" value="return PeriodConstraintStaticImpl.getPeriod(this);"/>
</eAnnotations> </eAnnotations>
</eOperations> </eOperations>
<eOperations name="setPeriod" lowerBound="1"> <eOperations name="setPeriod" lowerBound="1">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> <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);"/> <details key="body" value="PeriodConstraintStaticImpl.setPeriod(this, period);"/>
</eAnnotations> </eAnnotations>
<eParameters name="period" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDoubleObject"/> <eParameters name="period" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDoubleObject"/>
......
...@@ -178,7 +178,7 @@ ...@@ -178,7 +178,7 @@
</eClassifiers> </eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ReliabilityAnalysis"> <eClassifiers xsi:type="ecore:EClass" name="ReliabilityAnalysis">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value="DEPRECATED/LEGACY."/> <details key="documentation" value="@deprecated"/>
</eAnnotations> </eAnnotations>
<eGenericSuperTypes eClassifier="ecore:EClass explorationDsl.ecore#//expressions/ArithmeticExpression"> <eGenericSuperTypes eClassifier="ecore:EClass explorationDsl.ecore#//expressions/ArithmeticExpression">
<eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDoubleObject"/> <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDoubleObject"/>
...@@ -200,7 +200,7 @@ ...@@ -200,7 +200,7 @@
</eClassifiers> </eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="MultiLocationConstraint"> <eClassifiers xsi:type="ecore:EClass" name="MultiLocationConstraint">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value="DEPRECATED/LEGACY."/> <details key="documentation" value="@deprecated"/>
</eAnnotations> </eAnnotations>
<eTypeParameters name="LHT"> <eTypeParameters name="LHT">
<eBounds eClassifier="ecore:EClass platform:/resource/org.fortiss.tooling.base/model/base.ecore#//element/IModelElement"/> <eBounds eClassifier="ecore:EClass platform:/resource/org.fortiss.tooling.base/model/base.ecore#//element/IModelElement"/>
...@@ -227,7 +227,7 @@ ...@@ -227,7 +227,7 @@
<eStructuralFeatures xsi:type="ecore:EReference" name="singleLocationConstraints" <eStructuralFeatures xsi:type="ecore:EReference" name="singleLocationConstraints"
lowerBound="1" upperBound="-1"> lowerBound="1" upperBound="-1">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> <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> </eAnnotations>
<eGenericType eClassifier="ecore:EClass common.ecore#//location/LocationConstraint"> <eGenericType eClassifier="ecore:EClass common.ecore#//location/LocationConstraint">
<eTypeArguments eTypeParameter="#//predefined/MultiLocationConstraint/LHT"/> <eTypeArguments eTypeParameter="#//predefined/MultiLocationConstraint/LHT"/>
...@@ -241,7 +241,7 @@ ...@@ -241,7 +241,7 @@
</eClassifiers> </eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ComponentMultiAllocationConstraint"> <eClassifiers xsi:type="ecore:EClass" name="ComponentMultiAllocationConstraint">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> <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> </eAnnotations>
<eOperations name="setComponentMultiAllocations" lowerBound="1"> <eOperations name="setComponentMultiAllocations" lowerBound="1">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
...@@ -280,7 +280,7 @@ ...@@ -280,7 +280,7 @@
</eClassifiers> </eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ComponentMultiDislocationConstraint"> <eClassifiers xsi:type="ecore:EClass" name="ComponentMultiDislocationConstraint">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> <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> </eAnnotations>
<eOperations name="setComponentMultiDislocations" lowerBound="1"> <eOperations name="setComponentMultiDislocations" lowerBound="1">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
...@@ -319,7 +319,7 @@ ...@@ -319,7 +319,7 @@
</eClassifiers> </eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="SafetyIntegrityLevelConstraint"> <eClassifiers xsi:type="ecore:EClass" name="SafetyIntegrityLevelConstraint">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> <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> </eAnnotations>
<eOperations name="getLimitation" lowerBound="1"> <eOperations name="getLimitation" lowerBound="1">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
...@@ -344,7 +344,7 @@ ...@@ -344,7 +344,7 @@
</eClassifiers> </eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="SafetyComparison"> <eClassifiers xsi:type="ecore:EClass" name="SafetyComparison">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value="DEPRECATED/LEGACY."/> <details key="documentation" value="@deprecated"/>
</eAnnotations> </eAnnotations>
<eTypeParameters name="T"/> <eTypeParameters name="T"/>
<eGenericSuperTypes eClassifier="ecore:EClass explorationDsl.ecore#//operators/ComparisonOp"> <eGenericSuperTypes eClassifier="ecore:EClass explorationDsl.ecore#//operators/ComparisonOp">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment