| Modifier and Type | Field and Description |
|---|---|
| private final @Nullable Object[] | |
| private final Method | |
| private final Optional |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public List | getArguments()
Implements org. Get the arguments of the executable in this invocation context. |
| public Method | getExecutable()
Implements org. Get the method or constructor of this invocation context. |
| public Optional | getTarget()
Implements org. Get the target object of this invocation context, if available. |
| public Class | getTargetClass()
Implements org. Get the target class of this invocation context. |
| public T | proceed()
Implements org. Proceed with this invocation. |
| arguments | back to summary |
|---|---|
| private final @Nullable Object[] arguments | |
| method | back to summary |
|---|---|
| private final Method method | |
| target | back to summary |
|---|---|
| private final Optional<Object> target | |
| MethodInvocation | back to summary |
|---|---|
| pack-priv MethodInvocation(Method method, Optional<Object> target, @Nullable Object[] arguments) | |
| getArguments | back to summary |
|---|---|
| public List Implements org. Doc from org. Get the arguments of the executable in this invocation context.
| |
| getExecutable | back to summary |
|---|---|
| public Method getExecutable() Implements org. Doc from org. Get the method or constructor of this invocation context.
| |
| getTarget | back to summary |
|---|---|
| public Optional Implements org. Doc from org. Get the target object of this invocation context, if available. If this invocation context represents an instance method, this
method returns the object the method will be invoked on. Otherwise,
if this invocation context represents a static method or
constructor, this method returns
| |
| getTargetClass | back to summary |
|---|---|
| public Class Implements org. Doc from org. Get the target class of this invocation context. If this invocation context represents an instance method, this method returns the class of the object the method will be invoked on, not the class it is declared in. Otherwise, if this invocation represents a static method or constructor, this method returns the class the method or constructor is declared in.
| |
| proceed | back to summary |
|---|---|
| public T proceed() Implements org. Doc from org. Proceed with this invocation.
| |