AddMethodQualifierFix () { final List<IntentionAction> availableIntentions = myFixture.getAvailableIntentions(); AddMethodQualifierFix addMethodQualifierFix = null; for (IntentionAction action : availableIntentions) { action = IntentionActionDelegate.unwrap(action); if (action instanceof AddMethodQualifierFix) { addMethodQualifierFix = (AddMethodQualifierFix)action; break; } } return addMethodQualifierFix; }