Add a command object.
(String name, Object object)
| 1455 | * Add a command object. |
| 1456 | */ |
| 1457 | public void addCommand(String name, Object object) { |
| 1458 | addCommand(name, object, new String[0]); |
| 1459 | } |
| 1460 | |
| 1461 | public void addCommand(Object object) { |
| 1462 | Parameters p = object.getClass().getAnnotation(Parameters.class); |