1 public interface TestClassInterface {
3 public short getShort(short in);
4 public Enum handleEnum(Enum en);
5 public Enum[] handleEnumArray(Enum en[]);
6 public List<Enum> handleEnumList(List<Enum> en);
7 public Enum handleEnumComplex(Enum en, int i, char c);
8 public Enum[] handleEnumComplex2(Enum en[], int in, char c);
9 public Enum[] handleEnumTwo(Enum en1[], Enum en2[]);
11 public Struct handleStruct(Struct str);
12 public Struct[] handleStructArray(Struct str[]);
13 public List<Struct> handleStructList(List<Struct> str);
14 public Struct handleStructComplex(int in, char c, Struct str);
15 public List<Struct> handleStructTwo(List<Struct> str1, List<Struct> str2);
16 public List<Struct> handleStructThree(List<Struct> str1, List<Struct> str2, List<Struct> str3);
17 public List<Struct> handleStructComplex2(int in, char c, Struct str[]);
19 public Enum[] handleEnumStruct(Enum en[], List<Struct> str, char c);
21 public void registerCallback(CallBackInterface _cb);
22 public void registerCallbackArray(CallBackInterface _cb[]);
23 public void registerCallbackList(List<CallBackInterface> _cb);
24 public void registerCallbackComplex(int in, List<CallBackInterface> _cb, double db);
25 public int callBack();
26 public Enum[] handleCallbackEnum(Enum en[], char c, List<CallBackInterface> _cb);
29 public Enum[] handleAll(Enum en[], List<Struct> str, char c, List<CallBackInterface> _cb);
30 public Enum[] handleAllTwo(Enum en1[], Enum en2[], List<Struct> str1, List<Struct> str2, char c, List<CallBackInterface> _cb1, List<CallBackInterface> _cb2);
31 public Enum[] handleEnumThree(Enum en1[], Enum en2[], List<Struct> str1, List<Struct> str2);
33 capability EnumsStructs {
34 description = "All the set methods";
36 method = "handleEnum(Enum en)";
37 method = "handleEnumArray(Enum en[])";
38 method = "handleEnumList(List<Enum> en)";
39 method = "handleEnumComplex(Enum en, int i, char c)";
40 method = "handleEnumComplex2(Enum en[], int in, char c)";
41 method = "handleEnumTwo(Enum en1[], Enum en2[])";
42 method = "handleEnumThree(Enum en1[], Enum en2[], List<Struct> str1, List<Struct> str2)";
44 method = "handleStruct(Struct str)";
45 method = "handleStructArray(Struct str[])";
46 method = "handleStructList(List<Struct> str)";
47 method = "handleStructComplex(int in, char c, Struct str)";
48 method = "handleStructComplex2(int in, char c, Struct str[])";
49 method = "handleStructTwo(List<Struct> str1, List<Struct> str2)";
50 method = "handleStructThree(List<Struct> str1, List<Struct> str2, List<Struct> str3)";
52 method = "handleEnumStruct(Enum en[], List<Struct> str, char c)";
53 method = "handleCallbackEnum(Enum en[], char c, List<CallBackInterface> _cb)";
54 method = "handleAll(Enum en[], List<Struct> str, char c, List<CallBackInterface> _cb)";
55 method = "handleAllTwo(Enum en1[], Enum en2[], List<Struct> str1, List<Struct> str2, char c, List<CallBackInterface> _cb1, List<CallBackInterface> _cb2)";
58 capability Callbacks {
59 description = "All the set-and-get methods";
60 method = "getShort(short in)";
61 method = "registerCallback(CallBackInterface _cb)";
62 method = "registerCallbackArray(CallBackInterface _cb[])";
63 method = "registerCallbackList(List<CallBackInterface> _cb)";
64 method = "registerCallbackComplex(int in, List<CallBackInterface> _cb, double db)";
65 method = "callBack()";