Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Pointcut on a constructor with a custom @Annotation

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:

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:

Back to the top