com.blazebit.reflection.LazyGetterMethod Maven / Gradle / Ivy
/*
* Copyright 2011 Blazebit
*/
package com.blazebit.reflection;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
/**
* This class can be used to predefine a getter chain invocation but to be
* invoked later. It holds the source object on which to invoke the getter chain
* and the field names with which the getter methods are determined.
*
* @author Christian Beikov
* @since 0.1.2
*/
public class LazyGetterMethod {
private final Object source;
private final PropertyPathExpression