Overloaded to make variables appear as bean properties or via the subscript operator
(String property, Object newValue)
| 135 | * Overloaded to make variables appear as bean properties or via the subscript operator |
| 136 | */ |
| 137 | @Override |
| 138 | public void setProperty(String property, Object newValue) { |
| 139 | /* @todo we should check if we have the property with the metaClass instead of try/catch */ |
| 140 | try { |
| 141 | super.setProperty(property, newValue); |
| 142 | } |
| 143 | catch (MissingPropertyException e) { |
| 144 | setVariable(property, newValue); |
| 145 | } |
| 146 | } |
| 147 | |
| 148 | } |
nothing calls this directly
no test coverage detected