Outdated stub in index of cached PSI class Exception. fixed #29
This commit is contained in:
@@ -19,7 +19,11 @@ public class OwnerToPsiDocUtils {
|
|||||||
if (navElement instanceof PsiDocCommentOwner) {
|
if (navElement instanceof PsiDocCommentOwner) {
|
||||||
psiDocCommentOwner = (PsiDocCommentOwner) navElement;
|
psiDocCommentOwner = (PsiDocCommentOwner) navElement;
|
||||||
}
|
}
|
||||||
return psiDocCommentOwner.getDocComment();
|
try {
|
||||||
|
return psiDocCommentOwner.getDocComment();
|
||||||
|
} catch (Exception e) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nullable
|
@Nullable
|
||||||
|
|||||||
Reference in New Issue
Block a user