Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » [Xtend] How to access class object?
[Xtend] How to access class object? [message #761759] Wed, 07 December 2011 02:04 Go to next message
Edwin Park is currently offline Edwin ParkFriend
Messages: 124
Registered: July 2009
Senior Member
In Java if I can get the class object of a class Foo like so: Foo.class
Is there an equivalent way to do this in Xtend?

Thanks,
Edwin
Re: [Xtend] How to access class object? [message #761825 is a reply to message #761759] Wed, 07 December 2011 05:59 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13423
Registered: July 2009
Senior Member
Hi,

It is typeof(Foo)

~Christian


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/xtext/
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: [Xtend] How to access class object? [message #761849 is a reply to message #761825] Wed, 07 December 2011 07:07 Go to previous message
Edwin Park is currently offline Edwin ParkFriend
Messages: 124
Registered: July 2009
Senior Member
Ah! Thank you, that was driving me crazy. Smile

Edwin
Previous Topic:Folding woes
Next Topic:[xtend] Tooling Improvement Proposals
Goto Forum:
  


Current Time: Sun Apr 05 00:37:54 GMT 2020

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

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

Back to the top