com.blazebit.reflection.LazySetterMethod Maven / Gradle / Ivy
/*
* Copyright 2011 Blazebit
*/
package com.blazebit.reflection;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
/**
* This class is a lazy setter that can be invoked later. Basically this class
* just holds the target object on which to invoke the setter, the field name
* via which the setter method is determined and the arguments that should be
* passed as parameters to the setter.
*
* @author Christian Beikov
* @since 0.1.2
*/
public class LazySetterMethod {
private final Object target;
private final Object value;
private final PropertyPathExpression