FILE_COMPARATOR property

Comparator<AnalysisError> FILE_COMPARATOR
getter/setter pair

A Comparator that sorts by the name of the file that the AnalysisError was found.

Implementation

static Comparator<AnalysisError> FILE_COMPARATOR =
    (AnalysisError o1, AnalysisError o2) =>
        o1.source.shortName.compareTo(o2.source.shortName);