aboutsummaryrefslogtreecommitdiffstats
path: root/ajde.core/testdata/WeaveInfoMessagesTest/AspectDeclare.aj
blob: 8e6ef0a6aabf602b38275fad0f130703fa2581db (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 {}