@ Override public void findIdes ( List < IdeLocation > locations , List < CorruptedIdeLocationException > problems ) { switch ( OsUtils . getOS ( ) ) { case WINDOWS : new WindowsFinder ( ) . findEclipse ( locations , problems ) ; break ; case MAC_OS_X : new MacFinder ( ) . findEclipse ( locations , problems ) ; break ; default : case UNIX : new UnixFinder ( ) . findEclipse ( locations , problems ) ; break ; } }
Calls the OS - dependent find Eclipse routine . If the local OS doesn t have a routine written for it null is returned .