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