99100101102103104105106
PsiModifierListOwner owner = AddAnnotationPsiFix.getContainer(file, position); if (owner == null || !owner.isValid()) { return; } AddAnnotationFix fix = new AddAnnotationFix(TOADD, owner, TOREMOVE); fix.invoke(project, editor, file); } }