Inspectopedia
 
2024.3

Unresolved cache annotation parameter reference

Error
Reliability
New
Last modified: 03 December 2024

Reports Micronaut Cache annotations where the value of the parameters attribute contains names of undefined method parameters.

The following annotations are supported:

  • io.micronaut.cache.annotation.Cacheable

  • io.micronaut.cache.annotation.CachePut

  • io.micronaut.cache.annotation.CacheInvalidate

Example: