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.

pr132130.aj 327B

1234567891011121314151617
  1. aspect basic {
  2. declare @method : * debit(..) : @Secured(role="supervisor");
  3. declare @constructor : BankAccount+.new(..) : @Secured(role="supervisor");
  4. }
  5. class BankAccount {
  6. public BankAccount(String s, int i) {
  7. }
  8. public void debit(long accId,long amount) {
  9. }
  10. }
  11. @interface Secured {
  12. String role();
  13. }