added impl for link_static_method