Scala IntList to Java

So I have this Scala function which returns a IntList def drawLine(x0: Int, y0: Int, x1: Int, y1: Int): IntList = { val list : IntList = drawLineRec(x0, y0, x1, y1, Math.abs(x1-x0), -Math.abs(y1-y0),…