package com.intellij.coverage.view;

import com.intellij.ide.util.treeView.AlphaComparator;
import com.intellij.ide.util.treeView.NodeDescriptor;
import com.intellij.util.ui.ColumnInfo;

import java.util.Comparator;

class ElementColumnInfo extends ColumnInfo<NodeDescriptor, String> {
  ElementColumnInfo() {
    super("Element");
  }

  @Override
  public Comparator<NodeDescriptor> getComparator() {
    return AlphaComparator.INSTANCE;
  }

  @Override
  public String valueOf(NodeDescriptor node) {
    return node.toString();
  }
}

package com.intellij.coverage.view;

import com.intellij.ide.util.treeView.AlphaComparator;
import com.intellij.ide.util.treeView.NodeDescriptor;
import com.intellij.util.ui.ColumnInfo;

import java.util.Comparator;

public class ElementColumnInfo extends ColumnInfo<NodeDescriptor, String> {
  public ElementColumnInfo() {
    super("Element");
  }

  @Override
  public Comparator<NodeDescriptor> getComparator() {
    return AlphaComparator.INSTANCE;
  }

  @Override
  public String valueOf(NodeDescriptor node) {
    return node.toString();
  }
}

fix IllegalAccessError while accessing package-private class