0

[What I would like to do kotlin]

  1. wrap an existing annotation
  2. 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 :)

kai
  • 1

0 Answers0