Default PropertyWriter implementation using Groovy property access.
| 24 | * Default {@link PropertyWriter} implementation using Groovy property access. |
| 25 | */ |
| 26 | public class DefaultPropertyWriter implements PropertyWriter { |
| 27 | /** |
| 28 | * Shared property writer instance. |
| 29 | */ |
| 30 | public static final PropertyWriter INSTANCE = new DefaultPropertyWriter(); |
| 31 | |
| 32 | /** {@inheritDoc} */ |
| 33 | @Override |
| 34 | public void write(Object owner, String propertyName, Object value) { |
| 35 | InvokerHelper.setProperty(owner, propertyName, value); |
| 36 | } |
| 37 | } |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…