List<LineMarkerTagPoint> ( Collection<LineMarkerInfo> lineMarkers, boolean withDescription ) { List<LineMarkerTagPoint> lineMarkerPoints = new ArrayList<>(); for (LineMarkerInfo markerInfo : lineMarkers) { lineMarkerPoints.add(new LineMarkerTagPoint(markerInfo.startOffset, true, markerInfo, withDescription)); lineMarkerPoints.add(new LineMarkerTagPoint(markerInfo.endOffset, false, markerInfo, withDescription)); } return lineMarkerPoints; }