Re: Detect if class is anonymous

Rajaraman Santhanam <[email protected]>
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <12f495c5457.-5560401376341802061.3828890059296345990@zohocorp.com>
As per VM Spec Anonymous classes are named with enclosing class as the prefix followed by $ and a unique decimal. For eg., An anonymous iterator implementation inside a class myClass will be named as MyClass$19 implements Iterator. 

- ramanr

---- On Tue, 12 Apr 2011 10:09:50 +0530 Prashant Deva &lt;[email protected]&gt; wrote ---- 


Is there any way via asm, to detect while instrumentation, whether the class being instrumented is anonymous?
Prashant
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.