1 public interface TestClassInterface {
3 public short getShort(short in);
4 public void registerCallback(CallBackInterface _cb);
6 public List<Enum> handleEnumList(List<Enum> en);
7 public Struct[] handleStructArray(Struct str[]);
8 public void registerCallbackArray(CallBackInterface _cb[]);
9 public void registerCallbackList(List<CallBackInterface> _cb);
10 public Enum[] handleAll(Enum en[], List<Struct> str, char c, List<CallBackInterface> _cb);
11 public Enum[] handleCallbackEnum(Enum en[], char c, List<CallBackInterface> _cb);
12 public Enum[] handleAllTwo(Enum en1[], Enum en2[], List<Struct> str1, List<Struct> str2, char c, List<CallBackInterface> _cb1, List<CallBackInterface> _cb2);
14 capability Callbacks {
15 description = "All the set-and-get methods";
16 method = "getShort(short in)";
17 method = "registerCallback(CallBackInterface _cb)";
18 method = "callBack()";
19 method = "handleEnumList(List<Enum> en)";
20 method = "handleStructArray(Struct str[])";
21 method = "registerCallbackArray(CallBackInterface _cb[])";
22 method = "registerCallbackList(List<CallBackInterface> _cb)";
23 method = "handleAll(Enum en[], List<Struct> str, char c, List<CallBackInterface> _cb)";
24 method = "handleCallbackEnum(Enum en[], char c, List<CallBackInterface> _cb)";
25 method = "handleAllTwo(Enum en1[], Enum en2[], List<Struct> str1, List<Struct> str2, char c, List<CallBackInterface> _cb1, List<CallBackInterface> _cb2)";