Package net.bytebuddy.asm
Annotation Type Advice.StubValue
-
@Documented @Retention(RUNTIME) @Target(PARAMETER) public static @interface Advice.StubValue
Indicates that the annotated parameter should always return a default a boxed version of the instrumented methods return value (i.e.0
for numeric values,false
forboolean
types andnull
for reference types). The annotated parameter must be of typeObject
and cannot be assigned a value.- See Also:
Advice
,Advice.OnMethodEnter
,Advice.OnMethodExit