add Override.hasMethod