@Nullable
  protected Icon getIcon(@NotNull PsiElement element) {
    int flags = Iconable.ICON_FLAG_VISIBILITY;
    if (isMarkReadOnly()) {
      flags |= Iconable.ICON_FLAG_READ_STATUS;
    }

    try {
      return element.getIcon(flags);
    }
    catch (IndexNotReadyException ignored) {
      return null;
    }
  }
@Nullable
  protected Icon getIcon(@NotNull PsiElement element)