aboutsummaryrefslogtreecommitdiffstats
path: root/tests/java5/generics/genericaspects/GenericAspectT.aj
blob: c2e4f425f6717ec6c1a0b54601e452b4f6bd8fe8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import java.util.*;
import java.lang.reflect.*;
import org.aspectj.lang.annotation.*;

aspect ParentChildRelationship {

  interface I<P extends I>{} // scary!

  public String I.parent;

  public void I<T>.abc(T a) {
    a.parent=null;
  }

}