summaryrefslogtreecommitdiffstats
path: root/tests/bugs151/pr132130.aj
blob: 3259d7232f1743510e386eb99e00292885c39012 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
 aspect basic {

    declare @method : * debit(..) : @Secured(role="supervisor");
    declare @constructor : BankAccount+.new(..) : @Secured(role="supervisor");
}

class BankAccount {
	
	public BankAccount(String s, int i) {
	}
    public void debit(long accId,long amount) {
    }
}

@interface Secured {
    String role();
}