aboutsummaryrefslogtreecommitdiffstats
path: root/org.aspectj.ajdt.core/testdata/src1/LTWAspect.aj
blob: 1721b4ef767e2864b174b7c2132e46d928d9899d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import java.util.List;

public privileged aspect LTWAspect {
	
	pointcut method (List list) :
		execution(* LTWHelloWorld.*(..)) && this(list);
	
	before (List list) : method (list) {
		System.err.println("LTWAspect.method(" + thisJoinPointStaticPart + ")");
		list.add("LTWAspect");
	}
}