void (final ErrorInfo errorInfo, final ArrayList<ErrorWithFix> suppressList, boolean named) { final String suppressName = named ? UIDesignerBundle.message("action.suppress.named.for.component", errorInfo.myDescription) : UIDesignerBundle.message("action.suppress.for.component"); final String suppressAllName = named ? UIDesignerBundle.message("action.suppress.named.for.all.components", errorInfo.myDescription) : UIDesignerBundle.message("action.suppress.for.all.components"); final SuppressFix suppressFix = new SuppressFix(myEditor, suppressName, errorInfo.getInspectionId(), errorInfo.getComponent()); final SuppressFix suppressAllFix = new SuppressFix(myEditor, suppressAllName, errorInfo.getInspectionId(), null); suppressList.add(new ErrorWithFix(errorInfo, suppressFix)); suppressList.add(new ErrorWithFix(errorInfo, suppressAllFix)); }