aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs150/pr113947/case2/AbstractListSupport.java
blob: 9f8ac8d5e4170e28b480fc8e774e208f7dda0bf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
public abstract aspect AbstractListSupport<I,M extends I> {

  //declare parents : @LinkedListItem * implements M;


  // Interface
  interface ListInterface<Item> {
    Item getNext();
    void setNext(Item item);
  }
    
  private K ListInterface<K>.next;

  public K ListInterface<K>.getNext () {
    return next;
  }

  public void ListInterface<K>.setNext (K item) {
    next = item;
  }

}