boolean (@NotNull final Project project, @NotNull final PsiElement context) { final GrDocCommentOwner container = getContainer(context); myKey = container instanceof PsiClass ? "suppress.inspection.class" : container instanceof PsiMethod ? "suppress.inspection.method" : "suppress.inspection.field"; return container != null && context.getManager().isInProject(context.getContainingFile().getOriginalFile()); }