Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Willink2016-10-05 03:48:48 +0000
committerEd Willink2016-10-05 04:13:08 +0000
commit057d71a2b750a1bc514b2c7f92c326b111d3a79f (patch)
tree34dd7226100f271e9be2d39f92cfd557c8b9079a /plugins
parent9c1d1fa7ec96a6d79a9c44da89007ca07237ce3d (diff)
downloadorg.eclipse.qvtd-057d71a2b750a1bc514b2c7f92c326b111d3a79f.tar.gz
org.eclipse.qvtd-057d71a2b750a1bc514b2c7f92c326b111d3a79f.tar.xz
org.eclipse.qvtd-057d71a2b750a1bc514b2c7f92c326b111d3a79f.zip
[502235] Regenerate test models
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/java/QVTiCG2JavaVisitor.java1
-rw-r--r--plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/java/QVTiGlobalContext.java1
2 files changed, 2 insertions, 0 deletions
diff --git a/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/java/QVTiCG2JavaVisitor.java b/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/java/QVTiCG2JavaVisitor.java
index 489050cd5..15f8ce642 100644
--- a/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/java/QVTiCG2JavaVisitor.java
+++ b/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/java/QVTiCG2JavaVisitor.java
@@ -1200,6 +1200,7 @@ public class QVTiCG2JavaVisitor extends CG2JavaVisitor<@NonNull QVTiCodeGenerato
return JavaStream.convertToJavaIdentifier("MAP_" + cgMapping.getName());
}
+ @Override
protected @NonNull String getThisName(@NonNull CGElement cgElement) {
for (EObject eObject = cgElement; eObject != null; eObject = eObject.eContainer()) {
if (eObject instanceof CGMapping) {
diff --git a/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/java/QVTiGlobalContext.java b/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/java/QVTiGlobalContext.java
index 96ea2aea6..0d9d9880a 100644
--- a/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/java/QVTiGlobalContext.java
+++ b/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/java/QVTiGlobalContext.java
@@ -35,6 +35,7 @@ public class QVTiGlobalContext extends JavaGlobalContext<@NonNull QVTiCodeGenera
public QVTiGlobalContext(@NonNull QVTiCodeGenerator codeGenerator) {
super(codeGenerator);
nameManager.reserveName(JavaConstants.EXECUTOR_NAME, null);
+ nameManager.reserveName(JavaConstants.EVALUATION_CACHE_NAME, null);
nameManager.reserveName(MODELS_NAME, null);
}

Back to the top