cheeseng/scala-ide — comment on commit 86ae8bb98f8f3c6d0c6b26ce868de58e0b1978e7
File: org.scala-ide.sdt.core/src/scala/tools/eclipse/launching/ScalaTestLaunchShortcut.scala line 116
By dragos:

You could use pattern matching on the tree, since trees are case classes, or have extractors. For instance:

`case Apply(fun, args) => ..`

or even

`case Apply(fun, List(Literal(arg1), Literal(arg2)) =>`

Have a look at any source in the IDE project where trees are inspected to get a taste of it.