aboutsummaryrefslogtreecommitdiffstats
path: root/tests/java5/ataspectj/coverage/Test002.java
blob: 59228a700cd749fdf717f741723c95477f5d0f0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//"@Aspect with codestyle pointcut"

// 1. test name needs changing to @Aspect with codestyle advice declaration
// Probably nothing can be done here because it is at parse time that we
// decide this is a class so can't contain advice - at parse time we probably
// can't go digging round for annotations on the type decl.  
// Documented limitation?

import org.aspectj.lang.annotation.*;

@Aspect
class A{
  before(): call(* *(..)) {
  }
}