Import Resolution - XBase [message #1740739] |
Wed, 17 August 2016 20:31  |
Eclipse User |
|
|
|
I have a requirement to convert XText/XBase based DSL to XML. I use XExpression and control the imports and Namespaces using XImportDeclaration (user Import) and XImportSectionNamespaceScopeProvider(implicit code import).
I am able to convert XExpression to my required String format using my custom code . However while doing that I could not resolve the Imports and convert the Class Names to Fully qualified Class Names with package name .
Can you guide me in the right direction.
For example :
import com.pkg1.Class1
someAction {
Class1.method1("arg");
}
Expected Result after name space resolution:
<mytag>
com.pkg1.Class1.method1("arg"); //Currently i get Class1.method1("arg");
</mytag>
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06022 seconds