public interface TestClassInterface { public Enum handleEnum(Enum en); public Enum[] handleEnumArray(Enum en[]); public List handleEnumList(List en); public Enum handleEnumComplex(Enum en, int i, char c); public Enum[] handleEnumComplex2(Enum en[], int in, char c); public Struct handleStruct(Struct str); public Struct[] handleStructArray(Struct str[]); public List handleStructList(List str); public Struct handleStructComplex(int in, char c, Struct str); public List handleStructComplex2(int in, char c, Struct str[]); public void registerCallback(CallBackInterface _cb); public void registerCallbackArray(CallBackInterface _cb[]); public void registerCallbackList(List _cb); public void registerCallbackComplex(int in, List _cb, double db); public int callBack(); capability EnumsStructs { description = "All the set methods"; method = "handleEnum(Enum en)"; method = "handleEnumArray(Enum en[])"; method = "handleEnumList(List en)"; method = "handleEnumComplex(Enum en, int i, char c)"; method = "handleEnumComplex2(Enum en[], int in, char c)"; method = "handleStruct(Struct str)"; method = "handleStructArray(Struct str[])"; method = "handleStructList(List str)"; method = "handleStructComplex(int in, char c, Struct str)"; method = "handleStructComplex2(int in, char c, Struct str[])"; } capability Callbacks { description = "All the set-and-get methods"; method = "registerCallback(CallBackInterface _cb)"; method = "registerCallbackArray(CallBackInterface _cb[])"; method = "registerCallbackList(List _cb)"; method = "registerCallbackComplex(int in, List _cb, double db)"; method = "callBack()"; } enum Enum { APPLE, ORANGE, GRAPE } struct Struct { string name; float value; int year; } }