Java
Language mismatch
Warning
New
Last modified: 03 December 2024Reports when the language of a reference does not match the expected language of the usage context.
Example:
@Language("JavaScript")
String JS_CODE = "var x;";
@Language("XPath")
String XPATH_CODE = JS_CODE; // warning here
- 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.
LanguageMismatch
Here you can find the description of settings available for the Language mismatch inspection, and the reference of their default values.
Inspection Details | |
---|---|
By default bundled with: | |
Can be installed with plugin: | IntelliLang, 243.23126 |
Thanks for your feedback!
Was this page helpful?