public static String findMainClass ( File rootFolder ) throws IOException { return doWithMainClasses ( rootFolder , new ClassNameCallback < String > ( ) { @ Override public String doWith ( String className ) { return className ; } } ) ; }
Find the main class from a given folder .