You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to xtend...@googlegroups.com
obj.getClass()
:-)
also
obj.getClass
and
obj.^class
(the '^' is required to escape identifiers conflicting with keywords)
The reason why you didn't find it in the first place, is that content assist doesn't propose it.
It's know bug and will be fixed soon.
Sven
Freewind
unread,
Jun 18, 2012, 1:07:39 PM6/18/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to xtend...@googlegroups.com
You are right :-p
Zsombor
unread,
Jun 18, 2012, 1:08:04 PM6/18/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to xtend...@googlegroups.com
It's a pretty common question, as it doesn't have an obvious solution. Is there any fundemantal issue, supporting the java like myObj.getClass and String.class expressions?
Regards
Zsombor
Sebastian Zarnekow
unread,
Jun 18, 2012, 1:28:51 PM6/18/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to xtend...@googlegroups.com
obj.getClass does the job as expected. String.class was more difficult to get right from a technical perspective thus we decided to go for typeof(String) instead. I actually prefer that syntax over String.class.