Inspectopedia
 
2024.3

Invalid property key

Error
New
Last modified: 03 December 2024

Reports invalid arguments that are passed to methods with parameters annotated as @PropertyKey.

These arguments should be valid property keys in corresponding properties files. Also, the inspection verifies that the resourceBundle argument of the @PropertyKey annotation is an existing resource bundle.

Use the quick-fix to create a new property or to select an existing one.

Example: