Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Willink2022-01-25 16:22:20 +0000
committerEd Willink2022-01-31 15:39:46 +0000
commit4554bae79356c7da1a9ca217ab2a99ba6096a593 (patch)
tree5277052954be72c5d99c032639f3a37b8b267c93
parentdd00ca0e561b764ce44517701c274713d568a010 (diff)
downloadorg.eclipse.qvtd-4554bae79356c7da1a9ca217ab2a99ba6096a593.tar.gz
org.eclipse.qvtd-4554bae79356c7da1a9ca217ab2a99ba6096a593.tar.xz
org.eclipse.qvtd-4554bae79356c7da1a9ca217ab2a99ba6096a593.zip
Track OCL
-rw-r--r--plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/analyzer/QVTiAS2CGVisitor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/analyzer/QVTiAS2CGVisitor.java b/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/analyzer/QVTiAS2CGVisitor.java
index 753a90753..180d07052 100644
--- a/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/analyzer/QVTiAS2CGVisitor.java
+++ b/plugins/org.eclipse.qvtd.codegen/src/org/eclipse/qvtd/codegen/qvti/analyzer/QVTiAS2CGVisitor.java
@@ -488,7 +488,7 @@ public class QVTiAS2CGVisitor extends AS2CGVisitor implements QVTimperativeVisit
}
@Override
- protected @NonNull CGValuedElement generatePropertyCallExp(@NonNull CGValuedElement cgSource, @NonNull PropertyCallExp element) {
+ protected @NonNull CGValuedElement generatePropertyCallExp(@Nullable CGValuedElement cgSource, @NonNull PropertyCallExp element) {
Property asProperty = ClassUtil.nonNullModel(element.getReferredProperty());
boolean isRequired = asProperty.isIsRequired();
org.eclipse.ocl.pivot.Class asSourceClass = asProperty.getOwningClass();

Back to the top