Skip to main content



      Home
Home » Modeling » OCL » OCL to Java
OCL to Java [message #15725] Tue, 10 April 2007 08:55 Go to next message
Eclipse UserFriend
Hello,

are there any tools to transform OCL pre conditions into Java code that
check these conditions ? Or should I just parse the AST myself ?

Thanks in advance.
Re: OCL to Java [message #15740 is a reply to message #15725] Tue, 10 April 2007 09:07 Go to previous message
Eclipse UserFriend
Originally posted by: cdamus.ca.ibm.com

Hi, Youmm,

The MDT OCL component doesn't provide such a facility out of the box, and I
don't know of any other that does. To parse the AST, you may find
extending the org.eclipse.ocl.utilities.AbstractVisitor to be helpful.

Cheers,

Christian


Youmm P. wrote:

> Hello,
>
> are there any tools to transform OCL pre conditions into Java code that
> check these conditions ? Or should I just parse the AST myself ?
>
> Thanks in advance.
Previous Topic:problem following the example in the Eclipse Corner article
Next Topic:Playing with setContext
Goto Forum:
  


Current Time: Wed Mar 12 00:18:10 EDT 2025

Powered by FUDForum. Page generated in 0.03969 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top