package Ġcom . jetbrains . edu . scala . gradle Ċ Ċ import Ġcom . intellij . psi . Psi Method Ċ import Ġorg . jetbrains . plugins . scala . lang . psi . api . toplevel . typedef . Sc Object Ċ import Ġorg . jetbrains . plugins . scala . runner . My Scala Main Method Util Ċ Ċ // ĠThis Ġcode Ġworks Ġonly Ġfor ĠScala Ġ 2 Ġcode Ċ // ĠTODO : Ġsupport ĠScala Ġ 3 Ċ // Ġ Ġide ally , Ġwithout Ġusing Ġ` My Scala Main Method Util ` Ġat Ġall Ġbecause Ġit 's Ġtoo Ġlow - level Ġand Ġit 's Ġsubject Ġto Ġchange Ċ fun ĠSc Object . find Main Method (): Ġscala . Option < Psi Method > Ġ= ĠMy Scala Main Method Util . find Scala 2 Main Method ( this ) Ċ