1 2 3 4 5 6 7 8 9 10 11 12 13
import java.util.*; public aspect CodeTwo { before(): execution(* CodeTwo.*(..)) && args(List<? extends Number>) {} void m(List<Integer> li) {} public void callm() { List<? extends Number> lqn = new ArrayList<Number>(); // m(lqn); } }