public static @NotNull <Comp extends JComponent> LabeledComponent<Comp> create(@NotNull Comp component,
                                                                                 @NotNull @NlsContexts.Label String text,
                                                                                 @NonNls String labelConstraint) {
    LabeledComponent<Comp> labeledComponent = new LabeledComponent<>();
    labeledComponent.setComponent(component);
    labeledComponent.setText(text);
    labeledComponent.setLabelLocation(labelConstraint);
    return labeledComponent;
  }
public static @NotNull <Comp extends JComponent> LabeledComponent<Comp> create(@NotNull Comp component,
                                                                                 @NotNull @NlsContexts.Label String text,
                                                                                 @NonNls String labelConstraint)