
com.fluentinterface.proxy.PropertyAccessStrategy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fluent-interface-proxy Show documentation
Show all versions of fluent-interface-proxy Show documentation
A dynamic proxy that implements builder interfaces transparently.
The newest version!
package com.fluentinterface.proxy;
public interface PropertyAccessStrategy {
Class getPropertyType(Class> targetClass, String property);
void setPropertyValue(Object target, String property, Object value) throws Exception;
default PropertyTarget targetFor(final Object instance) {
return (property, value) -> PropertyAccessStrategy.this.setPropertyValue(instance, property, value);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy