Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/alf/org.eclipse.papyrus.alf/src/org/eclipse/papyrus/alf/syntax/units/ClassifierTemplateParameter.java')
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.alf/src/org/eclipse/papyrus/alf/syntax/units/ClassifierTemplateParameter.java29
1 files changed, 29 insertions, 0 deletions
diff --git a/extraplugins/alf/org.eclipse.papyrus.alf/src/org/eclipse/papyrus/alf/syntax/units/ClassifierTemplateParameter.java b/extraplugins/alf/org.eclipse.papyrus.alf/src/org/eclipse/papyrus/alf/syntax/units/ClassifierTemplateParameter.java
new file mode 100644
index 00000000000..b1f6e954d77
--- /dev/null
+++ b/extraplugins/alf/org.eclipse.papyrus.alf/src/org/eclipse/papyrus/alf/syntax/units/ClassifierTemplateParameter.java
@@ -0,0 +1,29 @@
+package org.eclipse.papyrus.alf.syntax.units;
+
+public class ClassifierTemplateParameter extends ClassifierDefinition {
+
+ // Helper Operations
+
+ /*
+ * Annotations are not allowed on classifier template parameters.
+ */
+ public boolean annotationAllowed(StereotypeAnnotation annotation) {
+ return false ;
+ }
+
+ /*
+ * Return true if the given member is a classifier template parameter.
+ */
+ public boolean isSameKindAs(Member member) {
+ return false ;
+ }
+
+ /*
+ * Returns false. (Classifier template parameters cannot be stubs.)
+ */
+ public boolean matchForStub(UnitDefinition unit) {
+ return false ;
+ }
+
+
+}

Back to the top