Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] specifying @annotated traget object?

On 2/27/06, Adrian Colyer <adrian.colyer@xxxxxxxxx> wrote:
> You need to use  "@target(PrettyPrintable)".  (And as a side note, all of
> the 'binding' pcds such as this, target, @this, @target etc. only ever take
> exact types, not type patterns....)

I actually suspected that since BNF does say Type (rather than
TypePattern), on the other hand SubtypePattern (target (Object+))
worked, so I naturally assumed a typo in the doc :-) and was hoping
for (@AnnotationType Object)+ to work ... oh well @target works just
as well.

Thanks, Adrian!


Back to the top