aboutsummaryrefslogtreecommitdiffstats
path: root/tests/java5/ataspectj/coverage/Test039.java
blob: 0c20c91160ba1bcd3c0bd411bbe9cb8411e52780 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// "@Pointcut with an empty string"

import org.aspectj.lang.annotation.*;

@Aspect
class Foo {

  @Pointcut("call(* java.util.List.*(..))") // must qualify
  void listOperation() {}
 
  @Pointcut("") // should compile, I think - just matches no joinPoints
  void anyUtilityCall() {}
      
}