We need to look for public and private methods. The only approach I know of i plain Java is getDeclaredMethod() which throws an exception if it's not found.