summaryrefslogtreecommitdiffstats
path: root/tests/java5/generics/pointcuts/HandlerPointcutTests.aj
blob: 8324d198d3aec3bb6bdfb502d7418a03d8ac0c5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
public aspect HandlerPointcutTests {

	// CE line 4 - no type variables allowed in handler
	pointcut exceptionHandler() : handler<T>(GenericInterface<T>);
	
	// CE line 8 - no parameterized types
	// CW line 8 - unresolved absolute type name T
	pointcut unboundTypeInHandler() : handler(GenericInterface<T>);
	
	// CE line 11 - no parameterized types
	pointcut parameterizedHandler() : handler(GenericInterface<Double>);

}