public interface ArgumentProcessorContext
Modifier and Type | Method and Description |
---|---|
void |
apply(java.lang.Class<?> argumentProcessor,
ArgumentProcessorMode mode)
Applies mentioned processor for method or call-site arguments.
|
java.lang.Object[] |
getArgs(ArgumentProcessorMode mode)
Returns the object array composed from the method arguments.
|
java.lang.Object |
getReceiver(ArgumentProcessorMode mode)
Returns the object on which is the processed method (arguments of that
method) called.
|
void apply(java.lang.Class<?> argumentProcessor, ArgumentProcessorMode mode)
argumentProcessor
- processor class to applymode
- in which should be processor appliedjava.lang.Object getReceiver(ArgumentProcessorMode mode)
mode
- for which should be the object retrievedjava.lang.Object[] getArgs(ArgumentProcessorMode mode)
mode
- for which should be the argument array retrieved