Yes. The reason for the change in the first place, from the perspective of the `play2 plugin` is that I had to create an artificial IDocument object, set it's text, and then pass it to this method so that I could get scala tokens. IDocuments are really heavy, and there was a visually noticeable lag in the editor due to this.