class CachedReturnPlugin$byte
extends java.lang.Object
byte
value.Modifier | Constructor and Description |
---|---|
private |
CachedReturnPlugin$byte()
A constructor that prohibits the instantiation of the class.
|
Modifier and Type | Method and Description |
---|---|
protected static byte |
enter(byte cached)
The enter advice.
|
protected static void |
exit(byte returned,
byte cached)
The exit advice.
|
private CachedReturnPlugin$byte()
@Advice.OnMethodEnter(skipOn=Advice.OnNonDefaultValue.class) protected static byte enter(byte cached)
cached
- The cached field's value.true
if a cached value exists.@Advice.OnMethodExit protected static void exit(@Advice.Return(readOnly=false) byte returned, byte cached)
returned
- The value that was returned by the method's execution or 0
if it was not executed.cached
- The previously cached value or 0
if no previous value exists.