aboutsummaryrefslogtreecommitdiffstats
path: root/tests/java5/generics/itds/binaryweaving/A3.aj
blob: 66f80ba0a426eccfe0345f85782956d308065f9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import java.util.*;

aspect A3 {

//  declare precedence: A3,A2;

  public List<Z> BaseClass<Z>.m(List<Z> lz) {
    return lz;
  }

  after(BaseClass c): execution(* run1(..)) && this(c) {
    List<String> myLs = new ArrayList<String>();
    BaseClass<String> bStr = new BaseClass<String>();
    List<String> ls2 = bStr.m(myLs);
    bStr.count++;
  }

}