That is aspectj working as designed.
Constructor patterns really have no return
type and if you specify one you get
an error. What would you be trying to
say with the first variant? That
a constructor returns an @Alien annotated instance?
The second variant says execution of
a constructor on an @Alien annotated type -
I guess thats what you want.
"Oli B." <boehm@xxxxxxxxxx> Sent by: aspectj-dev-admin@xxxxxxxxxxx
Please respond to
[aspectj-dev] Annotation pointcut
i want to hit all constructors of classes with an @Alien annotation: