Re: Re: Re: Re: Detect if class is anonymous

Rémi Forax <[email protected]>
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <[email protected]>
On 04/12/2011 08:57 PM, Prashant Deva wrote:
>
>
>         There is also an attribute InnerClasses (see section 4.7.6) of
>         the JVM 7 spec:
>         http://jcp.org/aboutJava/communityprocess/maintenance/jsr924/index3.html
>         that contains relations between inner classes and outer class.
>         For ASM, the method visitOuterClass in ClassVisitor will be
>         called.
>
>
>     Yes but an inner class can be 'not' anonymous.
>

There is another Attribute named EnclosingMethod for anonynous classes.
see visitOuterClass.

>
> Prashant
>

Rémi
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.