[What I would like to do kotlin]
- wrap an existing annotation
- use dynamic parameters
[code]
@Target(ElementType.TYPE, ElementType.METHOD)
@Inherited
@Documented
@Cacheable(cacheNames = {custom_properties}, cacheManager = "cacheManager") // exist java or kotlin annotation
annotation class CustomCache(val custom_properties:Array<String>) //custom annotation and
parameters
do you have a solution? Thanks in advance for your help :)