class CachedReturnPlugin$int
extends java.lang.Object
int value.| Modifier | Constructor and Description |
|---|---|
private |
CachedReturnPlugin$int()
A constructor that prohibits the instantiation of the class.
|
| Modifier and Type | Method and Description |
|---|---|
protected static int |
enter(int cached)
The enter advice.
|
protected static void |
exit(int returned,
int cached)
The exit advice.
|
private CachedReturnPlugin$int()
@Advice.OnMethodEnter(skipOn=Advice.OnNonDefaultValue.class) protected static int enter(int cached)
cached - The cached field's value.true if a cached value exists.@Advice.OnMethodExit protected static void exit(@Advice.Return(readOnly=false) int returned, int 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.