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