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