io.vertx.codegen.annotations
public @Interface CacheReturn
extends Annotation
- Annotations
- @Retention:RUNTIME
- @Target:METHOD
- Imports
- java.lang.annotation.ElementType, .Retention, .RetentionPolicy, .Target
Declares that the value returned by a method will always be the same. Code generators can use this
to cache the proxy of the returned object and avoid to recreate a different proxy for the same object.