开发者

Invoking callhierarchy for a method

开发者 https://www.devze.com 2022-12-28 05:20 出处:网络
I have an object of type IMethod which represents a method .I want to get the Call Hierarchy of this method . Which methods should i call to get the call hierarchy of a method? Is there any method by

I have an object of type IMethod which represents a method .I want to get the Call Hierarchy of this method . Which methods should i call to get the call hierarchy of a method? Is there any method by which i can do it? I know that i can get it by ctrl+alt+H but i want开发者_开发知识库 the code or method for invoking it. Thanks


While I agree with Bozho, you shouldn't need it, you CAN get it, by throwing an exception and catching it, and then do printStackTrace on your exception variable.

0

精彩评论

暂无评论...
验证码 换一张
取 消