blob: 600e804ce5ae82d72a2e622db715e34545d367ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
@interface Annotation{}
aspect B {
declare @method : public void C.anotherMethod(..) : @Annotation; // shouldn't have any errors
declare @method : * someMethod(..) : @Annotation; // shouldn't have any errors
declare @method : public void C.amethod(..) : @Annotation; // already get a warning for this, don't want an error saying method doesn't exist
}
class C {
@Annotation public void amethod() {
}
}
aspect D {
public void C.anotherMethod() {
}
}
|