Using PsiElement string representation to generate new expression is incorrect
Reports direct usage of PsiElement
and PsiType
in strings.
When building strings for PsiJavaParserFacade.createExpressionFromText()
(or similar methods), PsiElement.getText()
should be used instead.
Inspection Details | |
---|---|
Available in: | IntelliJ IDEA 2023.3, Qodana for JVM 2023.3 |
Plugin: | Plugin DevKit, 233.SNAPSHOT |
Last modified: 13 July 2023