@Documented @Retention(value=RUNTIME) @Target(value=PARAMETER) public static @interface Advice.Return
0
for numeric types
and null
for reference types.Advice
,
Advice.OnMethodExit
Modifier and Type | Optional Element and Description |
---|---|
boolean |
readOnly
Indicates if it is possible to write to this parameter.
|
public abstract boolean readOnly
false
, the annotated
type must be equal to the parameter of the instrumented method. 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.Copyright © 2014–2016. All rights reserved.