public static final class Advice.OnDefaultValue extends Object
Advice.OnMethodEnter.skipOn()
. If this value is set, the instrumented method
is not invoked if the annotated advice method returns a default value. A default value is false
for a
boolean
type, 0
for a byte
, short
, char
, int
, long
, float
or double
type and null
for a reference type. It is illegal to use this value if the advice method
returns void
.Copyright © 2014–2020. All rights reserved.