Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkolovos2015-06-30 07:16:01 -0400
committerdkolovos2015-06-30 07:16:01 -0400
commit0467950974ff544bda117570cb3ae04116a329c8 (patch)
tree46e88c232c583aa2d16e425d1f1b3ce4c6224de7
parent7bed011c9210235536d50418f9668ddb78dcbadd (diff)
downloadorg.eclipse.emfatic-0467950974ff544bda117570cb3ae04116a329c8.tar.gz
org.eclipse.emfatic-0467950974ff544bda117570cb3ae04116a329c8.tar.xz
org.eclipse.emfatic-0467950974ff544bda117570cb3ae04116a329c8.zip
Fixed bug reported in
https://www.eclipse.org/forums/index.php/t/1067822/
-rw-r--r--plugins/org.eclipse.emf.emfatic.core/src/org/eclipse/emf/emfatic/core/generator/emfatic/Writer.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/org.eclipse.emf.emfatic.core/src/org/eclipse/emf/emfatic/core/generator/emfatic/Writer.java b/plugins/org.eclipse.emf.emfatic.core/src/org/eclipse/emf/emfatic/core/generator/emfatic/Writer.java
index eb54211..ac50dc8 100644
--- a/plugins/org.eclipse.emf.emfatic.core/src/org/eclipse/emf/emfatic/core/generator/emfatic/Writer.java
+++ b/plugins/org.eclipse.emf.emfatic.core/src/org/eclipse/emf/emfatic/core/generator/emfatic/Writer.java
@@ -339,9 +339,10 @@ public class Writer {
for (Iterator<EParameter> ip = eOp.getEParameters().iterator(); ip
.hasNext();) {
EParameter eParam = ip.next();
- String paramDoc = EcoreUtil.getDocumentation(eParam);
- if (paramDoc != null)
- write("?\"" + paramDoc + "\" ");
+ //String paramDoc = EcoreUtil.getDocumentation(eParam);
+ //if (paramDoc != null)
+ // write("?\"" + paramDoc + "\" ");
+ writeAnnotations(eParam, 0, false);
String paramMods = getModifiers(eParam);
String paramName = escape(eParam.getName());
String paramType = getTypeExpr(eParam, eOp.getEContainingClass());

Back to the top