aboutsummaryrefslogtreecommitdiffstats
path: root/ajde/testdata/WeaveInfoMessagesTest/AspectDeclareExtends.aj
blob: f250515a12b9b350c826352a18b9a77f59de39e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Simple aspect that tramples all over Simple.java

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

  
interface MarkerInterface {}

class InTheWay {}