@Documented @Retention(value=RUNTIME) @Target(value=PARAMETER) public static @interface Advice.Argument
value() of
the instrumented method.Advice,
Advice.OnMethodEnter,
Advice.OnMethodExit| Modifier and Type | Required Element and Description |
|---|---|
int |
value
Returns the index of the mapped parameter.
|
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
readOnly
Indicates if it is possible to write to this parameter.
|
Assigner.Typing |
typing
The typing that should be applied when assigning the argument.
|
public abstract int value
public abstract boolean readOnly
false, the annotated
type must be equal to the parameter of the instrumented method if the typing is not also set to Assigner.Typing#DYNAMIC.
If this property is set to true, the annotated parameter can be any super type of the instrumented methods parameter.true if this parameter is read-only.public abstract Assigner.Typing typing
Copyright © 2014–2017. All rights reserved.