aboutsummaryrefslogtreecommitdiffstats
path: root/tests/java5/annotations/declare/DecaTypeBin1.aj
blob: 57a2ac61a72c422d235484ec2ddea87bb815d415 (plain)
1
2
3
4
5
6
7
8
9
10
public aspect DecaTypeBin1 {
  declare @type: A : @Colored("red");
}

aspect X {
  before(): execution(* *(..)) && @this(Colored) {
    System.err.println("Color identified on "+this.getClass());
  }
}