UAST
Unresolved cache annotation parameter reference
Error
Reliability
New
Last modified: 03 December 2024Reports 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:
@CachePut(parameters = "myParameter") // Error: Cannot resolve symbol 'myParameter'
public String cachedMethod(String name_is_not_equal_to_myParameter) {
return "...";
}
- By ID
Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.
MnCacheAnnotationParameters
Inspection Details | |
---|---|
By default bundled with: | |
Can be installed with plugin: | Micronaut, 243.23126 |
Thanks for your feedback!
Was this page helpful?