Package org.fest.reflect.field.decorator
Class PostDecorator<T>
java.lang.Object
org.fest.reflect.field.decorator.DecoratorInvocationHandler<T>
org.fest.reflect.field.decorator.PostDecorator<T>
- All Implemented Interfaces:
InvocationHandler
A proxy for post-decorating a field
- Author:
- Ivan Hristov
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.fest.reflect.field.decorator.DecoratorInvocationHandler
getDecorator, getTarget, invoke, setDecorator, setReturnDecoratorResult, shouldReturnDecoratorResult
-
Constructor Details
-
PostDecorator
-
-
Method Details
-
invokeFirst
protected Object invokeFirst(Method method, Object[] args) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException - Specified by:
invokeFirst
in classDecoratorInvocationHandler<T>
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
-
invokeSecond
protected Object invokeSecond(Method method, Object[] args) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException - Specified by:
invokeSecond
in classDecoratorInvocationHandler<T>
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
-
getResult
- Specified by:
getResult
in classDecoratorInvocationHandler<T>
-