aboutsummaryrefslogtreecommitdiffstats
path: root/tests/java5/generics/genericaspects/GenericAspectT.aj
blob: 8efc804b76ae4d90efc9aecd29cba2fd65a48db9 (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>{}

  public String I.parent;

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

}