Class SpecialMethodInvoker<V>
- java.lang.Object
-
- io.smallrye.faulttolerance.core.invocation.SpecialMethodInvoker<V>
-
-
Constructor Summary
Constructors Constructor Description SpecialMethodInvoker(Method method, Object target, Object[] arguments)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> TgetArgument(int index, Class<T> parameterType)intparametersCount()Vproceed()<T> TreplaceArgument(int index, Class<T> parameterType, Function<T,T> transformation)
-
-
-
Constructor Detail
-
SpecialMethodInvoker
public SpecialMethodInvoker(Method method, Object target, Object[] arguments) throws ReflectiveOperationException
- Throws:
ReflectiveOperationException
-
-
Method Detail
-
parametersCount
public int parametersCount()
- Specified by:
parametersCountin interfaceInvoker<V>
-
getArgument
public <T> T getArgument(int index, Class<T> parameterType)- Specified by:
getArgumentin interfaceInvoker<V>
-
replaceArgument
public <T> T replaceArgument(int index, Class<T> parameterType, Function<T,T> transformation)- Specified by:
replaceArgumentin interfaceInvoker<V>
-
-