Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Willink2016-05-05 08:43:43 -0400
committerEd Willink2016-05-05 09:32:33 -0400
commite4dcca2d2b4bbdf9c211c1b679e9790920743101 (patch)
tree65368534e286ddf23ffc85bfcd4f0c92d54b46e4
parent631bb17314c44986fada873db3ad15ee3002a653 (diff)
downloadorg.eclipse.qvtd-e4dcca2d2b4bbdf9c211c1b679e9790920743101.tar.gz
org.eclipse.qvtd-e4dcca2d2b4bbdf9c211c1b679e9790920743101.tar.xz
org.eclipse.qvtd-e4dcca2d2b4bbdf9c211c1b679e9790920743101.zip
[486722] Improve diagnostic
-rw-r--r--plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/analyzer/QVTiBoxingAnalyzer.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/analyzer/QVTiBoxingAnalyzer.java b/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/analyzer/QVTiBoxingAnalyzer.java
index 49bf5e9b4..3e77e2e89 100644
--- a/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/analyzer/QVTiBoxingAnalyzer.java
+++ b/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/analyzer/QVTiBoxingAnalyzer.java
@@ -77,7 +77,7 @@ public class QVTiBoxingAnalyzer extends BoxingAnalyzer implements QVTiCGModelVis
rewriteAsEcore(cgEcoreContainerAssignment.getSlotValue(), eStructuralFeature.getEType());
rewriteAsEcore(cgEcoreContainerAssignment.getInitValue(), eStructuralFeature.getEContainingClass());
if (isRequired) {
- rewriteAsGuarded(cgEcoreContainerAssignment.getSlotValue(), false, "value");
+ rewriteAsGuarded(cgEcoreContainerAssignment.getSlotValue(), false, "value for " + cgEcoreContainerAssignment.getReferredProperty() + " assignment");
}
return visitCGPropertyAssignment(cgEcoreContainerAssignment);
}
@@ -89,7 +89,7 @@ public class QVTiBoxingAnalyzer extends BoxingAnalyzer implements QVTiCGModelVis
rewriteAsEcore(cgEcorePropertyAssignment.getSlotValue(), eStructuralFeature.getEContainingClass());
rewriteAsEcore(cgEcorePropertyAssignment.getInitValue(), eStructuralFeature.getEType());
if (isRequired) {
- rewriteAsGuarded(cgEcorePropertyAssignment.getInitValue(), false, "value");
+ rewriteAsGuarded(cgEcorePropertyAssignment.getInitValue(), false, "value for " + cgEcorePropertyAssignment.getReferredProperty() + " assignment");
}
return visitCGPropertyAssignment(cgEcorePropertyAssignment);
}

Back to the top