@@ -0,0 +1,6 @@ | |||
import java.util.List; | |||
public interface Foo { | |||
<T> List<T> createList(); | |||
} |
@@ -0,0 +1,10 @@ | |||
import java.util.ArrayList; | |||
import java.util.List; | |||
public aspect FooAspect { | |||
public <T> List<T> Foo.createList() { | |||
return new ArrayList<T>(); | |||
} | |||
} |