Refactoring
Overwrite getAccessibleMethod to invokeMethod