You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Dmitri Blinov (JIRA)" <ji...@apache.org> on 2015/08/15 08:01:45 UTC
[jira] [Created] (JEXL-174) Overloadable property access operators
Dmitri Blinov created JEXL-174:
----------------------------------
Summary: Overloadable property access operators
Key: JEXL-174
URL: https://issues.apache.org/jira/browse/JEXL-174
Project: Commons JEXL
Issue Type: New Feature
Affects Versions: 3.0
Reporter: Dmitri Blinov
Priority: Minor
In analogy with overloading operators like empty(), size() etc, provide a way to overload property "get" and "set" operators ([] and .), like
{code}
public Object getAt(Object obj, Object index) {...}
public Object putAt(Object obj, Object index, Object value) {...}
{code}
Overloaded operators should be tried before any standard access stategy, ie MAP, POJO etc.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)