@Override
		public void doWith(Method method) throws IllegalArgumentException, IllegalAccessException {
			List<CliOption> list = new ArrayList<CliOption>();
			commands.put(method.getAnnotation(CliCommand.class), list);
			for (Annotation[] anns : method.getParameterAnnotations()) {
				for (Annotation ann : anns) {
					if (ann instanceof CliOption) {
						list.add((CliOption) ann);
						break;
					}
				}
			}
		}
A mapping from class to Title in the doc. Insertion order will become rendering order.
documentation-toolchain/src/test/java/org/springframework/xd/documentation/ShellReferenceDoc.java