aboutsummaryrefslogtreecommitdiffstats
path: root/org.aspectj.ajdt.core/testdata/src1/LTWInterfaceITD.aj
blob: e7fa6a46aedd59e477a1cbccd9c47468341bb4e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import java.util.List;

public privileged aspect LTWInterfaceITD {

	declare parents : LTWHelloWorld implements Runnable;
	
	public void LTWHelloWorld.run () {
		add("LTWInterfaceITD");
	}

	pointcut init (LTWHelloWorld hw) :
		execution(LTWHelloWorld.new()) && this(hw);
		
	after (LTWHelloWorld hw) : init (hw) {
		System.err.println("LTWInterfaceITD.init(" + thisJoinPointStaticPart + ")");
		hw.run();
	}
}