Accessibility is not the same thing as method declared public.
Try accessing and in case of IllegalAccessException do the hack
and log the warning.