@Override
public MethodDescriptor[] getMethodDescriptors() {
try {
final Vector<MethodDescriptor> vector = new Vector<MethodDescriptor>();
vector.add(new MethodDescriptor(CommandBinaryButtonCometeV2.class.getMethod(
"setCommandName0", new Class[] { String.class })));
vector.add(new MethodDescriptor(CommandBinaryButtonCometeV2.class.getMethod(
"setCommandName1", new Class[] { String.class })));
vector.add(new MethodDescriptor(CommandBinaryButtonCometeV2.class.getSuperclass()
.getMethod("setAskConfirmation", new Class[] { boolean.class })));
vector.add(new MethodDescriptor(CommandBinaryButtonCometeV2.class.getSuperclass()
.getMethod("execute", new Class[] {})));
vector.add(new MethodDescriptor(CommandBinaryButtonCometeV2.class.getSuperclass()
.getMethod("setDeviceName", new Class[] { String.class })));
vector.add(new MethodDescriptor(CommandBinaryButtonCometeV2.class.getSuperclass()
.getMethod("setVisible", new Class[] { boolean.class })));
vector.add(new MethodDescriptor(CommandBinaryButtonCometeV2.class.getSuperclass()
.getMethod("setEnabled", new Class[] { boolean.class })));
vector.add(new MethodDescriptor(CommandBinaryButtonCometeV2.class.getMethod(
"setSimuled", new Class[] { boolean.class })));
vector.add(new MethodDescriptor(CommandBinaryButtonCometeV2.class.getMethod(
"setButtonSymbolFileName", new Class[] { String.class })));
vector.add(new MethodDescriptor(CommandBinaryButtonCometeV2.class.getSuperclass()
.getMethod("setTextButton", new Class[] { String.class })));
final MethodDescriptor[] methoddesc = new MethodDescriptor[vector.size()];
int index = 0;
final Enumeration<MethodDescriptor> enumeration = vector.elements();