Deal with structs created via ST#addAggr("structname.{prop1, prop2", ...);}.
| 36 | |
| 37 | |
| 38 | public class AggregateModelAdaptor extends MapModelAdaptor { |
| 39 | @Override |
| 40 | public Object getProperty(Interpreter interp, ST self, Object o, Object property, String propertyName) throws STNoSuchPropertyException { |
| 41 | Map<?, ?> map = ((Aggregate)o).properties; |
| 42 | return super.getProperty(interp, self, map, property, propertyName); |
| 43 | } |
| 44 | } |
nothing calls this directly
no outgoing calls
no test coverage detected