[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[aspectj-users] Pointcut on a constructor with a custom @Annotation
|
- From: "Moritz Post" <moritzpost@xxxxxx>
- Date: Thu, 20 Apr 2006 20:32:30 +0200
- Delivered-to: aspectj-users@eclipse.org
- Thread-index: AcZkqMg3Wf7N+uOlRmeULaaHFBnYFQ==
Hallo Mailingliste
I am struggling to create a proper pointcut on a constructor. I want to
catch all creations of an object which is annotated with a custom
annotation. Like:
@MyAnnotation
public class TheClass {
public The Class {
}
}
So whenever the a new TheClass is instantiated I want to get notified.
Therefore I developed the following Pointcut: