mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
(no message)
This commit is contained in:
@@ -40,12 +40,12 @@ public class AddNoInspectionDocTagAction implements IntentionAction {
|
||||
}
|
||||
|
||||
private PsiDocCommentOwner getContainer() {
|
||||
PsiDocCommentOwner container;
|
||||
PsiElement container = myContext;
|
||||
do {
|
||||
container = PsiTreeUtil.getParentOfType(myContext, PsiDocCommentOwner.class);
|
||||
container = PsiTreeUtil.getParentOfType(container, PsiDocCommentOwner.class);
|
||||
}
|
||||
while (container instanceof PsiTypeParameter);
|
||||
return container;
|
||||
return (PsiDocCommentOwner)container;
|
||||
}
|
||||
|
||||
public String getFamilyName() {
|
||||
|
||||
Reference in New Issue
Block a user