On 14 Apr 2010, at 23:58, Dan Allen wrote:
On Wed, Apr 14, 2010 at 6:47 PM, Stuart Douglas
<stuart(a)baileyroberts.com.au> wrote:
What do you mean by 'The approach taken by decorators'?
Just that in a decorator, you inject the bean instance. In this case, we are injecting
the bean metadata.
You can also inject the InjectionPoint metadata in a decorator.
I wonder if we should rename @InterceptedMetadata to @Target?
@Inject @Target Bean bean;
@Inject @Target AnnotatedType type;
I also think, if we are doing this, we should also support
@Inject @Target Object target;
@Inject @Target Method method;
@Inject @Target Object[] parameters;