renamed detectVirtualMethodBug