Re: Re: Re: Method size in bytes

Eugene Kuleshov <[email protected]>
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <[email protected]>
  methodNode.accept(new CodeSizeEvaluator(classWriter));

  regards,
  Eugene


On Tue, Feb 1, 2011 at 11:56 AM,  <[email protected]> wrote:
> Thanks for the solution!
> I'm using the tree API and tried to use CodeSizeEvaluator like this:
>
> CodeSizeEvaluator evaluator = new CodeSizeEvaluator(methodNode);
> evaluator.getMaxSize());
>
> but, I guess this is a wrong approach. Sorry, for the stupid question, can I
> use the CodeSizeEvaluator together with tree API?
>
>
> Aibek
message-footer.txt (text/plain, 238 B)
-- 
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.