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: 23
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)»

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,
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: 9843
Registered: July 2009
Senior Member
I thinks you have to traverse the params yourself
Previous Topic:CompilationTestHelper problem with generated non-java code
Next Topic:Repeated value in a grammar rule
Goto Forum:

Current Time: Wed Oct 26 11:57:23 GMT 2016

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

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