Re: transitive interceptor bindings

2010-02-05 Thread Eric Covener
On Fri, Feb 5, 2010 at 1:34 AM, Gurkan Erdogdu wrote: > Hi Eric; > > I think that both @Binding2 and @Binding3 are inherited by sub-classes. > @Inherited is used for getting annotations from subclass. @Binding1 is > annotated with @Inherited therefore we must get @Binding1 and all its > transitive

Re: transitive interceptor bindings

2010-02-04 Thread Gurkan Erdogdu
Hi Eric; I think that both @Binding2 and @Binding3 are inherited by sub-classes. @Inherited is used for getting annotations from subclass. @Binding1 is annotated with @Inherited therefore we must get @Binding1 and all its transitive interceptors @Binding2 and @Binding3. Your patch seems to handle

Re: transitive interceptor bindings

2010-02-04 Thread Eric Covener
On Thu, Feb 4, 2010 at 5:06 PM, Sven Linstaedt wrote: > Afaik @Inherited is only applied to annotation resolution if one uses the > reflection API. I am not aware of this annotation also being checked for > interceptor resolution. > > So as @Binding1 is @Inherited, both interceptors are applied to

Re: transitive interceptor bindings

2010-02-04 Thread Sven Linstaedt
Afaik @Inherited is only applied to annotation resolution if one uses the reflection API. I am not aware of this annotation also being checked for interceptor resolution. So as @Binding1 is @Inherited, both interceptors are applied to Child imho. If @Binding1 was not @Inherited, Child would