01: package net.sf.mockcreator;
02:
03: import java.util.*;
04:
05: public interface Java15<L extends List, S extends Set> {
06: public static enum Java15Enum {
07: FOO, BAR, BAZ
08: };
09:
10: Set<String> getNames();
11:
12: void setNames(Set<String> names);
13:
14: public Set<? extends List> mess1(Object... args); // throws <? extends Error>;
15:
16: public List<?> mess2(Collection<Integer>... args); // throws IllegalArgumentException;
17:
18: public List<?>[] mess3();
19:
20: public Map<?, ?>[][] mess4();
21:
22: public Set<? super Set>[][] mess5();
23:
24: public void mess6(Object[] args);
25:
26: public int enums(Java15Enum e);
27:
28: public int vars(L l, S s);
29:
30: public Set<? extends List> messX(Integer[] two, Object... args);
31:
32: public void vararg1(Object... args);
33:
34: public void vararg2(Integer[] two, Object... args);
35:
36: public void vararg3(int sum, Object... args);
37:
38: public void vararg4(Integer... args);
39:
40: public void vararg5(int foo, Integer... args);
41:
42: public void vararg6(int foo, Set<S>... args);
43: }
|