aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs169/pr287613/DAMethod1.java
blob: 59e7f38bb31eb07c9f77aa195934380d629829dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import java.lang.annotation.*;

@Retention(RetentionPolicy.RUNTIME)
@interface Annot {}

class Person {
	public void foo() {}
	public boolean bar() {return false;}
	public String getString() { return null; }
	public boolean isSet() { return false; }
	public void isNotReturningBoolean() { }
}

aspect DAMethod1 {
    declare @method: (* *.get*()) || (boolean *.is*()): @Annot;
}