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

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: 11973
Registered: July 2009
Senior Member
I thinks you have to traverse the params yourself

Need professional support for Xtext, Xpand, EMF?
Go to:
Twitter : @chrdietrich
Blog :
Previous Topic:CompilationTestHelper problem with generated non-java code
Next Topic:Repeated value in a grammar rule
Goto Forum:

Current Time: Mon May 28 03:40:01 GMT 2018

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

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

Back to the top