Re: MWE2: Access class or static members

29 views
Skip to first unread message

Sebastian Zarnekow

unread,
Oct 8, 2012, 5:36:11 AM10/8/12
to xtend...@googlegroups.com
Hi Markus,

MWE does not support access to static members.

Regards,
Sebastian


On 08.10.2012, at 11:29, Markus wrote:

Hi there,
 
I just haven't figured out how to access public (static) members of a class within a MWE2 workflow. It might be a little bit off-topic, because it has nothing to do with Xtend in general, but I haven't found a better way to post the question. And the problem also appears within one of my Xtend projects.
 
Is it possible to access public members of a class within MWE2? I'm thinking of something like
 
outlet = {
   name = myconstants.ConstantClass.OUTLET_PATH
   path = "test"
}
 
or something like
 
var myconstants.ConstantClass constants = myconstants.ConstantClass {}
...
outlet = {
   name = constants.OUTLET_PATH
   path = "test"
}
 
I've tried it with the ".", "::" and also with the "${}" annotation, but didn't get it working.
 
Many thanks for your help.
Markus

signature.asc
Reply all
Reply to author
Forward
0 new messages