boolean (IntentionAction action) { return action instanceof AnnotateIntentionAction || action instanceof DeannotateIntentionAction || action.getClass().getName().equals("com.intellij.codeInspection.dataFlow.EditContractIntention") || action instanceof MakeInferredAnnotationExplicit || action.asModCommandAction() instanceof MakeExternalAnnotationExplicit; }