Fix invalid use of getMethod

Needs to be getDeclaredMethod since URLClassLoader declares addURL

Signed-off-by: Chris Sanders <zidane@outlook.com>