@Retention(value=RUNTIME)
@Target(value=METHOD)
@Inherited
@Documented
public @interface VcsCacheable
Annotation that is used to mark methods that return value
which does not change from call-to-call (for same parameters).
You may use this annotation to implement abstract caches
It is assumed method parameters has properly implemented
equals and hashCode methods
- Since:
- TC 8.0
- Author:
- Eugene Petrenko (eugene.petrenko@jetbrains.com)