public getMethod ( ast\Node | string $method_name, boolean $is_static ) : |
||
$method_name | ast\Node | string | Either then name of the method or a node that produces the name of the method. |
$is_static | boolean | Set to true if this is a static method call |
return | A method with the given name on the class referenced from the given node |