You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12345678910111213141516 |
- import java.util.*;
-
- public aspect CodeOne {
- before(): execution(* CodeOne.*(..)) && args(List<Number>) {}
- before(): execution(* CodeOne.*(..)) && args(List<Integer>) {}
-
- void m(List<Integer> li) {}
-
- public void callm() {
- List<Number> ln = new ArrayList<Number>();
- List<Integer> li = new ArrayList<Integer>();
- // m(ln);//not allowed
- m(li);
- }
-
- }
|