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

se.fortnox.reactivewizard.util.Setter Maven / Gradle / Ivy

package se.fortnox.reactivewizard.util;

import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Type;
import java.util.function.BiConsumer;

/**
 * Interface for a setter.
 */
public interface Setter {
    void invoke(I instance, T value) throws InvocationTargetException, IllegalAccessException;

    Class getParameterType();

    Type getGenericParameterType();

    BiConsumer setterFunction();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy