1 2 3 4 5 6 7 8 9 10
import java.util.ArrayList; import java.util.List; public aspect FooAspect { public <T> List<T> Foo.createList() { return new ArrayList<T>(); } }