summaryrefslogtreecommitdiffstats
path: root/ajde/testdata/WeaveInfoMessagesTest/AspectDeclare.aj
blob: e62661231ba99ee5898cd746200e09ee4b8dff19 (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
// Simple aspect that tramples all over Simple.java

public aspect AspectDeclare {
	
  pointcut methodRunning(): execution(* *(..));
  
  declare parents: Simple implements MarkerInterface;
  
//  declare parents: Simple extends InTheWay;
  
//  declare soft: 
//  
//  declare precedence:
//  
//  declare warning:
//  
//  declare error:
//  
}

  
interface MarkerInterface {}

class InTheWay {}