|Re: Instantiating instance of Java Class corresponding to JvmDeclaredType [message #1231742 is a reply to message #1231679]
||Wed, 15 January 2014 09:31
| Anil Bhatia
Registered: February 2011
Thanks for the warning...
Basically I need the user to refer to some existing java class (java class could potentially be coming from another Java project in the same workspace, or from a jar file) from 01.xtext. Then, in order to compute the scope for some other domain elements, I need to instantiate this Java Class.
At this point I really do not mind have some extra steps in my workflow, so I am willing to export the Java class from project to some jar, if that helps.
Can you provide some more details, pointers, code snippet, on how to create instance of java.lang.Class from IJavaProject or for imported jar...? Thanks.
Powered by FUDForum
. Page generated in 0.02531 seconds