private boolean generatedPositionAfter ( Mapping mappingA , Mapping mappingB ) { // Optimized for most common case int lineA = mappingA . generated . line ; int lineB = mappingB . generated . line ; int columnA = mappingA . generated . column ; int columnB = mappingB . generated . column ; return lineB > lineA || lineB == lineA && columnB >= columnA || Util . compareByGeneratedPositionsInflated ( mappingA , mappingB ) <= 0 ; }
Determine whether mappingB is after mappingA with respect to generated position .