void (Module module, @NotNull IComponent component, FormErrorCollector collector) { if (FormInspectionUtil.isComponentClass(module, component, Scrollable.class) && !FormInspectionUtil.isComponentClass(module, component, JTextField.class) && !FormInspectionUtil.isComponentClass(module, component.getParentContainer(), JScrollPane.class)) { collector.addError(getID(), component, null, UIDesignerBundle.message("inspection.no.scroll.pane"), MyQuickFix::new); } }