Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » XAnnotation / ImportManager
XAnnotation / ImportManager [message #1052666] Tue, 30 April 2013 11:27 Go to next message
Andreas  Flügge is currently offline Andreas FlüggeFriend
Messages: 26
Registered: July 2009
Junior Member
Hello, just another beginner question:

I'm using annotations like this:

@Inheritance(strategy = InheritanceType.JOINED)


and an import manager:

...
«FOR a : m.annotations»
    ...
    «val tmpName = importManager.serialize(a.annotation.annotationType)»
    ...
«ENDFOR»
...


The ImportManager generates an import for Inheritance but NOT for InheritanceType!

How can I make the ImportManager to append the import for the nested type?

Thanks in advance,
Andreas
Re: XAnnotation / ImportManager [message #1052684 is a reply to message #1052666] Tue, 30 April 2013 12:00 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
I thinks you have to traverse the params yourself

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:CompilationTestHelper problem with generated non-java code
Next Topic:Repeated value in a grammar rule
Goto Forum:
  


Current Time: Fri Apr 26 14:30:03 GMT 2024

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

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

Back to the top