Re: [aspectwerkz-dev] inner classes of inner classes

Alexandre Vasseur <[email protected]> Fri, 8 Oct 2004 16:49:38 +0200
Newsgroups gmane.comp.java.aspectwerkz.devel
Message-ID <[email protected]>
right now we have the following:
- custom annotations, or advice / pointcut related are handled in
inner class, no matter the depth of the inner class
- the last sentence is true for "non anonymous ones" (since Qdox does
not parse the method body for perf. purpose, it does not see the
anonymous ones)

but as regards the annotation for declaring mixin, that is true we
don't. The reason is that currently although the annotation is applied
on the inner class, we somehow attach it to the outer class (that is
the aspect for mixin).
It makes sense so far.

So did someone encountered real issues with this approach ? If so, can
you provide a small test ?

Thanks
Alex



On Thu, 7 Oct 2004 22:00:46 -0300, Michael Nascimento Santos
<[email protected]> wrote:
> > I must start by saying that I never saw in my life an innerclass of an
> innerclass [smile/].
> 
> I think we have even 3 levels of inner classes somewhere... :-P
> 
> > However, I would like to ask you what are the reasons for stopping
> AnnotationC go to inner-inner-...
> > so on.
> 
> I also would like to know why.
> 
> Regards,
> -------------------------------------------------------------
> Michael Nascimento Santos
> JSR 207 & 250 Expert Group Member
> JSR Community Manager - http://community.java.net/jsr
> Organizacao SouJava - http://www.soujava.org.br
> Thinlet - http://www.thinlet.com
> http://www.javablogs.com.br/blogs/page/soujavamisterm
> http://today.java.net/pub/au/80
>