private void createUIComponents() {
    myPackage = new LabeledComponent<>();
    myPackage.setComponent(new EditorTextFieldWithBrowseButton(myProject, false));

    myCategory = new LabeledComponent<>();
    myCategory.setComponent(new EditorTextFieldWithBrowseButton(myProject, true, new JavaCodeFragment.VisibilityChecker() {
      @Override
      public Visibility isDeclarationVisible(PsiElement declaration, PsiElement place) {
        if (declaration instanceof PsiClass) {
          return Visibility.VISIBLE;
        }
        return Visibility.NOT_VISIBLE;
      }
    }));

    myMethod = new LabeledComponent<>();
    myMethod.setComponent(new EditorTextFieldWithBrowseButton(myProject, true,
                                                              JavaCodeFragment.VisibilityChecker.EVERYTHING_VISIBLE,
                                                              PlainTextLanguage.INSTANCE.getAssociatedFileType()));

    myShortenClasspathModeCombo = new LabeledComponent<>();
  }
private void createUIComponents()