FILE_COMPARATOR property

Comparator<AnalysisError> FILE_COMPARATOR
read / write

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);