eclipse-ocl / org.eclipse.ocl

Eclipse Public License 2.0
0 stars 0 forks source link

[future] Support Java language access #908

Closed eclipse-ocl-bot closed 2 weeks ago

eclipse-ocl-bot commented 2 weeks ago

| --- | --- | | Bugzilla Link | 378206 | | Status | RESOLVED DUPLICATE of bug 394658 | | Importance | P3 enhancement | | Reported | May 02, 2012 02:40 EDT | | Modified | Sep 21, 2023 03:04 EDT | | Blocks | 415146, 370087 | | See also | 571406 | | Reporter | Ed Willink |

Description

Tooling such as Modisco's Java to Model conversion could allow OCL to access arbitrary Java facilities.

Provide appropriate user interface to make this easy.

Perhaps an import with a java: URI signals the use of such a conversion.

eclipse-ocl-bot commented 2 weeks ago

By Ed Willink on Nov 16, 2021 08:23

No need for Modisco.

We added quoted URIs to allow oclIsKindOf('http:/....')

We could easily allow 'java:java.lang.String.format'('x = %d\n', 5)

eclipse-ocl-bot commented 2 weeks ago

By Ed Willink on Sep 21, 2023 03:04

Better discussion on Bug 394658

This bug has been marked as a duplicate of bug 394658