org.aspectj/tests/bugs1612/pr327134/Code.java
2011-04-28 15:36:50 +00:00

17 lines
377 B
Java

import java.util.*;
import java.io.*;
interface IVOList<T extends IValueObject> extends List<T>, Externalizable, Serializable {
void updateList(List<T> newList);
}
interface IValueObject extends Comparable<IValueObject>, Serializable {
}
aspect Foo {
@SuppressWarnings("rawtypes")
pointcut IVOListUpdate(IVOList list): target(list) && call(void updateList(*));
}