Re: invoke ClassReader#accept twice

Tronje Krop <[email protected]>
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <[email protected]>
[email protected] wrote:
> using asm 3.3
> If I do:
> classReader.accept(classVisitorForStorable,ClassReader.SKIP_CODE|
> ClassReader.SKIP_DEBUG |ClassReader.SKIP_FRAMES);
> then
> classReader.accept(classVisitor, 0);
> 
> the second visit do not visit code.
> I think it is a bug

No it is absolutely naturally, because you activated ClassReader.SKIP_CODE.
This means you will just visit the structural class elements and not the
method bodies with its code.

CU Tronje
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.