Details
-
New Feature
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.0
-
None
Description
In analogy with overloading operators like empty(), size() etc, provide a way to overload property "get" and "set" operators ([] and .), like
public Object getAt(Object obj, Object index) {...} public Object putAt(Object obj, Object index, Object value) {...}
Overloaded operators should be tried before any standard access stategy, ie MAP, POJO etc.