Community
Participate
Working Groups
Another issue was found with regards to qualified name calculation for UML. The problem manifested itself when asking for the qualified name of the primitve type 'PrimitiveTypes::Integer', and the pattern matcher returned four different matches: * 'PrimitiveTypes::Integer' * 'UML::Integer' * 'Ecore::Integer' * 'StandardProfile::Integer' During a (not so short) debug session with Ábel we have found that the most likely culprit is the calculation in the 'namedElementNamespace' pattern, where the inverse of namespaceMember is calculated; however, the namespaceMember pattern also includes elements in imported packages. We should research the correct way to specify these patterns, and make sure that the qualified name pattern works as intended.
New Gerrit change created: https://git.eclipse.org/r/61527
Gerrit change https://git.eclipse.org/r/61527 was merged to [master]. Commit: http://git.eclipse.org/c/incquery/org.eclipse.incquery.git/commit/?id=fa5aa8d7e7529d82f326c4658d3b467bdb0afbab
The linked Gerrit change improves the surrogate queries for UML considerably and fixes the qualified name issue as well. For an up to date status of the UML derived features, see https://wiki.eclipse.org/EMFIncQuery/UMLSupport Bug 483501 is created as a followup issue.