@Override
  protected PsiTypePanel createMainComponent(PsiTypePanel boundedComponent, Project project) {
    if (boundedComponent == null) {
      boundedComponent = new PsiTypePanel();
    }
    return initReferenceEditorWithBrowseButton(
      boundedComponent,
      new ReferenceEditorWithBrowseButton(null, project, s -> JavaReferenceEditorUtil.createTypeDocument(s, project), ""), this);
  }
@Override
  protected PsiTypePanel createMainComponent(PsiTypePanel boundedComponent, Project project)