diff --git a/plugins/devkit/resources/inspectionDescriptions/UElementAsPsi.html b/plugins/devkit/resources/inspectionDescriptions/UElementAsPsi.html index 9225cbe06bec..dd7050c9f7d6 100644 --- a/plugins/devkit/resources/inspectionDescriptions/UElementAsPsi.html +++ b/plugins/devkit/resources/inspectionDescriptions/UElementAsPsi.html @@ -1,9 +1,12 @@
-It is better to avoid direct usage ofUElement as PsiElement because of ambiguity of PsiElement you
-get
-and several issues in the direct implementation. If you need "physical" PsiElement please use UElementKt.getSourcePsiElement(),
+Reports usage of UElement as PsiElement. The PsiElement obtained this way is ambiguous.
+If you need "physical" PsiElement please use UElementKt.getSourcePsiElement(),
if you need PsiElement that "emulates" behaviour of Java-elements (PsiClass, PsiMethod, etc.)
then please use UElementKt.getAsJavaPsiElement().
+
++ New in 2018.1 +
\ No newline at end of file