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