Package net.bytebuddy.asm
Class Advice.OnDefaultValue
- java.lang.Object
-
- net.bytebuddy.asm.Advice.OnDefaultValue
-
- Enclosing class:
- Advice
public static final class Advice.OnDefaultValue extends Object
A marker type to be used as an argument forAdvice.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 isfalsefor abooleantype,0for abyte,short,char,int,long,floatordoubletype andnullfor a reference type. It is illegal to use this value if the advice method returnsvoid.