protected Object getInstantiatedClass ( String query ) { if ( query . equals ( Constants . UIAUTOMATOR_UIDEVICE ) ) { return device ; } return null ; }
Implementation of getInstantiatedClass that returns a UiDevice if one is requested