Java
Using PsiElement string representation to generate new expression is incorrect
Warning
Code Style
New
Last modified: 03 December 2024 Reports direct usage of PsiElement
and PsiType
in strings.
When building strings for PsiJavaParserFacade.createExpressionFromText()
(or similar methods), PsiElement.getText()
should be used instead.
- 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.
PsiElementConcatenation
Inspection Details | |
---|---|
By default bundled with: | |
Can be installed with plugin: | Plugin DevKit, 243.23126 |
Thanks for your feedback!
Was this page helpful?