boolean (@NotNull PsiClass checkedClass, @NotNull HighlightSink sink, @NotNull ComponentType componentType) { if (findRegistrationType(checkedClass, COMPONENT_TYPE_TO_REGISTRATION_TYPE.get(componentType)) != null) { return true; } if (!canFix(checkedClass)) { return true; } LocalQuickFix fix = new RegisterComponentFix(componentType, checkedClass); sink.highlight(DevKitBundle.message("inspections.component.not.registered.message", DevKitBundle.message(componentType.myPropertyKey)), fix); return false; }