eclipse-qvtd / org.eclipse.qvtd

Eclipse Public License 2.0
0 stars 0 forks source link

[qvts] Simplify Region / Partition analysis #377

Closed eclipse-qvtd-bot closed 13 hours ago

eclipse-qvtd-bot commented 13 hours ago

| --- | --- | | Bugzilla Link | 546543 | | Status | RESOLVED FIXED | | Importance | P3 normal | | Reported | Apr 18, 2019 02:14 EDT | | Modified | Apr 18, 2019 05:40 EDT | | See also | 546270 | | Reporter | Ed Willink |

Description

The QVTiProductionConsumption work for Bug 546270 highlights repetitious code to analyze regions, partitions and then an old similr flaky compteCheckedAndEnforcec properties.

The repeated regions, partitions can be shared by a PartialRegion abstraction.

eclipse-qvtd-bot commented 13 hours ago

By Ed Willink on Apr 18, 2019 05:37

Pushed to master for M2.

THe old smart property inheritance caches are gone. The anslysis just caches what it observes; sourceClass - property - targetClass. These are then checked for conformance when used. Much simpler.