philhsmith
unread,Mar 26, 2009, 11:34:02 PM3/26/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Auto-android
Fixes issue 8 & includes a new minor feature, both thanks to
mike.quon.
The feature lets the 'view shorthand' path syntax to look inside any
Maps that may be exposed on the object. From the thread:
The syntax is what you might expect, given the previous form:
foo.bar.map.key will produce something like
getFoo().getBar().getMap().get("key"), assuming getMap() returns a
java.util.Map.
If "key" or "getKey" happens to be a legal getter, it will be called
instead to preserve back-compat (even if it is a Map.) Finally, if
your key has a period in it, use a double period to escape:
map.key..with..periods => getMap().get("key.with.periods")
Thanks, mike!