private void registerError(final IComponent component,
                             final FormErrorCollector collector,
                             final IProperty prop,
                             final @NonNls String api) {
    collector.addError(getID(), component, prop, UIDesignerBundle.message("inspection.java15form.problem.descriptor", api),
                       (editor, component1) -> new RemoveUIPropertyFix(editor, component1, (Property)prop));
  }
private void registerError(final IComponent component,
                             final FormErrorCollector collector,
                             final IProperty prop,
                             final @NonNls String api)