blob: 4226f9b85b1b52182f0ec78cd12557a957103983 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
package a;
@TypeAnnotation
public aspect AnnotatedAspect08 {
// should just compile harmlessly
@AnyAnnotation
declare warning : get(* *) : "bah humbug";
@FieldAnnotation
declare error: set(* *) : "hum bahbug";
@AnyAnnotation
declare soft : Exception: execution(* *(..));
@ConstructorAnnotation
declare parents : A implements I;
@AnyAnnotation
declare parents : A extends B;
}
class A {}
class B {}
interface I {}
|