summaryrefslogtreecommitdiffstats
path: root/tests/features153/pipelining/annotations/AnAspect.java
blob: 2b3d6eefef00fb6f5539bf921ad7e849b5bdb403 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import java.lang.annotation.*;

public aspect AnAspect {

  declare @type: Foo: @SimpleAnnotation(id=5); // one type in an array


  declare @type: Foo: @AnnotationClassElement(clz=Integer.class); // one type not in an array


  before(): call(* (@SimpleAnnotation *).m(..))  {
  }

//  declare @type: Foo: @AnnotationStringElement(stringval="www"); // two types in an array
}