@Documented
@Retention(value=RUNTIME)
@Target(value=PARAMETER)
public static @interface Advice.Return
Indicates that the annotated parameter should be mapped to the return value of the instrumented method. For this to be valid,
the parameter must be the same type as from the instrumented method's return type. If the instrumented method terminates
exceptionally, the type's default value is assigned to the parameter, i.e. 0
for numeric types and null
for
reference types.
- See Also:
Advice
,
Advice.OnMethodExit