summaryrefslogtreecommitdiffstats
path: root/tests/java5/generics/genericaspects/GenericAspect3.aj
blob: b7a0936e7af825ad2225b3aac9a33e5b0b6be434 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// should be ok...

public abstract aspect GenericAspect3<S,T> {

  public void doSomething(S s,T t) { 
    System.err.println(s);
    System.err.println(t);
  }

  public static void main(String[]argv) {
    m();
  }

  public static void m() {}

}

aspect Sub extends GenericAspect3<String,String> { 

  before(): call(* m(..)) {
    doSomething("A","B");
  }

}