Package net.bytebuddy.build
Class CachedReturnPlugin$int
java.lang.Object
net.bytebuddy.build.CachedReturnPlugin$int
An advice class for caching a
int
value.-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
A constructor that prohibits the instantiation of the class. -
Method Summary
-
Constructor Details
-
CachedReturnPlugin$int
private CachedReturnPlugin$int()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.
-