void (@NotNull ListPluginComponent component, @Nullable ListPluginComponent anchor) { if (anchor == null) { myComponents.add(component); } else { myComponents.add(myComponents.indexOf(anchor), component); } }