/** * */ package none; /** * @author Dawid Pytel * */ public abstract aspect GenericAspect { interface SomeInterface { } pointcut SomeConstructor(SomeInterface var) : execution(SomeInterface+.new(..)) && this(var); }