aboutsummaryrefslogtreecommitdiffstats
path: root/tests/java5/generics/pointcuts/PointcutsThatDontAllowTypeVars.aj
blob: 15b622e4915b9ec46c79395ed6d3c19ff21f7c17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
public aspect PointcutsThatDontAllowTypeVars {
	
	public pointcut handlerWithVars() : handler<T>(*);
	
	public pointcut cflowWithVars() : cflow<T>(ifWithVars());
	
	public pointcut cflowbelowWithVars() : cflowbelow<S>(ifWithVars());
	
	public pointcut thisWithVars() : this<T>(String);
	
	public pointcut targetWithVars() : target<T>(String);
	
	public pointcut argsWithVars() : args<T>(String);
	
	public pointcut atthisWithVars() : @this<T>(*);
	
	public pointcut attargetWithVars() : @target<T>(*);
	
	public pointcut atargsWithVars() : @args<T>(*);
	
	public pointcut atwithinWithVars() : @within<T>(*);
	
	public pointcut atwithincodeWithVars() : @withincode<T>(*);
	
	public pointcut atannotationWithVars() : @annotation<T>(*);

	public pointcut ifWithVars() : if<T>(true); // message for this one should be improved...
}