You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
123456789101112131415 |
- 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
- }
|