private void addWrapped(@NotNull JBLabel label, @Nullable JBLabel referent) {
    if (referent == null) {
      add(label);
    }
    else {
      Wrapper wrapper = new Wrapper(label);
      wrapper.setVerticalSizeReferent(referent);
      add(wrapper);
    }
  }
private void addWrapped(@NotNull JBLabel label, @Nullable JBLabel referent)