Define JSNI Method in Xtend

21 views
Skip to first unread message

alxande...@gmail.com

unread,
Jul 6, 2016, 11:41:10 AM7/6/16
to Xtend Programming Language
I need to define a JSNI Method in Xtend. Is this still not possible due to the comment pattern? Our project has too many classes for separated java classes. One abstract java base class for all xtend classes is not possible, because the jsni method depends on the object's fields and I can't override them in Xtend.

Best,
  Alex 

Sven Efftinge (sven@efftinge.de)

unread,
Jul 7, 2016, 2:49:25 AM7/7/16
to xtend...@googlegroups.com
It is true, that you cannot generate a comment like that using the standard transformation of active annotations.

--
You received this message because you are subscribed to the Google Groups "Xtend Programming Language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xtend-lang+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages