[381489] Fix parameter names for setting method in API.
diff --git a/plugins/org.eclipse.emf.ecore.xcore/src/org/eclipse/emf/ecore/xcore/util/XcoreJvmInferrer.java b/plugins/org.eclipse.emf.ecore.xcore/src/org/eclipse/emf/ecore/xcore/util/XcoreJvmInferrer.java
index 8cc4ca9..97bc55a 100644
--- a/plugins/org.eclipse.emf.ecore.xcore/src/org/eclipse/emf/ecore/xcore/util/XcoreJvmInferrer.java
+++ b/plugins/org.eclipse.emf.ecore.xcore/src/org/eclipse/emf/ecore/xcore/util/XcoreJvmInferrer.java
@@ -1906,10 +1906,13 @@
                 @Override
                 public void inferName()
                 {
-                  inferredElement.setName("new" + genFeature.getCapName());
+                  inferredElement.setName(isImplementation ? "new" + genFeature.getCapName() : "value");
                 }
               };
-            associate(genFeature, valueParameterInferrefer);
+            if (isImplementation)
+            {
+              associate(genFeature, valueParameterInferrefer);
+            }
             jvmOperation.getParameters().add(valueParameterInferrefer.getInferredElement());
             return jvmOperation;
           }