properties = descriptor.getProperties(Option.class);
for (ClassProperty property : properties) {
Option option = property.getAnnotation(Option.class);
String name = "".equals(option) ? property.getName() : option.name();
this.addOption(name, property.getType(), option.desc(), option.defaultDesc());
}
properties = descriptor.getProperties(Flag.class);
for (ClassProperty property : properties) {
Flag flag = property.getAnnotation(Flag.class);