aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs166/pr284862/AspectToMatch.aj
blob: 04f88deef284b8d7ae8d42f16bf94925ee7a5ac3 (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
29
public aspect AspectToMatch {

	//declare parents : ((@Entity *) && !hasmethod(@SearchAnnotation public * get*()) && !hasfield(@SearchAnnotations * *)) implements InterfaceToAdd;
	declare parents : ((@Entity *) && !hasmethod(@SearchAnnotation public * get*()) && 
			            !hasfield(@SearchAnnotation * *)) implements InterfaceToAdd;
	
	/*
	declare warning :
		staticinitialization(
			!hasmethod(* getMamma())
			) : "Not found";
	*/
	/*
	before() : handler(			
			(@Entity *) && !(hasmethod(@SearchAnnotation public * get*())) && !(hasfield(@SearchAnnotations * *))
			) {
		
		
	}
	*/
	
	/*
	before() : execution(!@(org.aspectj.bug*) public * get*()) {
		
	}
	*/

}