eclipse-ocl / org.eclipse.ocl

Eclipse Public License 2.0
0 stars 0 forks source link

[Compatibility] OclAny operations returned in duplicate by OCLSyntaxHelper #173

Closed eclipse-ocl-bot closed 13 hours ago

eclipse-ocl-bot commented 13 hours ago

| --- | --- | | Bugzilla Link | 184527 | | Status | CLOSED FIXED | | Importance | P2 normal | | Reported | Apr 27, 2007 17:59 EDT | | Modified | May 27, 2011 02:41 EDT | | Version | 1.1.0 | | Reporter | Christian Damus |

Description

In getting syntax completion suggestions for '.', the OclAny-defined operations are returned in duplicate.

The reason is that the CompatibilityUMLReflection delegates to the deprecated API's TypeUtil.getOperations() in order to include additional operations. It would be better to delegate to the static UMLReflectionImpl instance for Ecore to get the EClassifier's operations and have the CompatibilityEnvironment override the getAdditionalOperations() method to delegate to TypeUtil.getAdditionalOperations().

Similarly for the attributes and additional attributes.

eclipse-ocl-bot commented 13 hours ago

By Christian Damus on Apr 27, 2007 18:01

Implemented the suggested fixes.

eclipse-ocl-bot commented 13 hours ago

By Nick Boldt on Jan 28, 2008 16:37

Move to verified as per bug 206558.

eclipse-ocl-bot commented 13 hours ago

By Ed Willink on May 27, 2011 02:38

Closing after over a year in verified state.

eclipse-ocl-bot commented 13 hours ago

By Ed Willink on May 27, 2011 02:41

Closing after over a year in verified state.