Smart Method doc for Ref | 方法引用智能注释

This commit is contained in:
林万程
2022-03-15 00:48:40 +08:00
parent ada9d9c25e
commit 33c324c1d5
3 changed files with 8 additions and 4 deletions

View File

@@ -22,6 +22,9 @@ class SkipDocUtils {
if (skip(docOwner)) {
return null;
}
if (docOwner instanceof PsiMethod) {
return DocUtils.methodDoc(((PsiMethod) docOwner));
}
return DocUtils.srcOrByteCodeDoc(docOwner);
}