Forum Index - Topic Index Applications for Astah API How to get imports information of class |
Threaded | Newest First | Previous Topic | Next Topic | Bottom |
Poster | Thread |
---|---|
rafaelbiz | Posted on: 2009/8/6 22:12 |
Just popping in Joined: 2009/8/6 From: Posts: 1 |
How to get imports information of class Hi, i am working with the jude API to create an advanced code generator for java and i got the question "How to get imports information of class?"
For example, if i have 2 classes called A and B, how to get the information that A use B inside the operation: "operationInsideA(b : B) : void" Thank you very much . |
Joba | Posted on: 2009/8/7 10:11 |
Developer Joined: 2006/6/6 From: Posts: 969 |
Re: How to get imports information of class Hello rafaelbiz,
Thank you for using JUDE. Please build the imports information by yourself by obtaining necessary information such as Parameter Types by using JUDE API. At first, you get information of A's Operations and Attributes, and then get the Types that are used in them, as well as Types of Association ends. Get information of Dependencies from A to other classes if necessary, and gather these information and put them into imports information. Good luck on your project! Cheers, Satomi |
Threaded | Newest First | Previous Topic | Next Topic | Top |