I remember now, Scalastyle requires a error free Scala file. Ok, then this won't work.