Package net.bytebuddy.build
Class CachedReturnPlugin$boolean
java.lang.Object
net.bytebuddy.build.CachedReturnPlugin$boolean
An advice class for caching a
boolean
value.-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
A constructor that prohibits the instantiation of the class. -
Method Summary
-
Constructor Details
-
CachedReturnPlugin$boolean
private CachedReturnPlugin$boolean()A constructor that prohibits the instantiation of the class.
-
-
Method Details
-
enter
The enter advice.- Parameters:
cached
- The cached field's value.- Returns:
true
if a cached value exists.
-
exit
The exit advice.- Parameters:
returned
- The value that was returned by the method's execution or0
if it was not executed.cached
- The previously cached value or0
if no previous value exists.
-