All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.fluentinterface.proxy.PropertyAccessStrategy Maven / Gradle / Ivy

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