make getDropType static and public.