@Override
  public void render(@NotNull PresentationData presentationData, SimpleTextAttributes mainAttributes, SimpleTextAttributes commentAttributes) {
    if (myLibrary != null) {
      presentationData.setIcon(PlatformIcons.LIBRARY_ICON);
      presentationData.addText(getPresentableName(), mainAttributes);
      presentationData.addText(getLibraryTableComment(myLibrary), commentAttributes);
    }
    else {
      presentationData.addText(
        getPresentableName() + " (" + (myModuleName != null? JavaCompilerBundle.message("label.library.element.module", myModuleName) : myLevel) + ")", SimpleTextAttributes.ERROR_ATTRIBUTES
      );
    }
  }
@Override
  public void render(@NotNull PresentationData presentationData, SimpleTextAttributes mainAttributes, SimpleTextAttributes commentAttributes)