/** * Print the full qualified name of the command. * * @param command the command * @param stream the output * @throws IOException any io exception */ protected void printFQN(CommandDescriptor<?> command, Appendable stream) throws IOException { CommandDescriptor<?> owner = command.getOwner(); if (owner != null) { printFQN(owner, stream); stream.append(' '); } stream.append(command.getName()); }
/** * Print the full qualified name of the command. * * @param command the command * @param stream the output * @throws IOException any io exception */ protected void printFQN(CommandDescriptor<?> command, Appendable stream) throws IOException { CommandDescriptor<?> owner = command.getOwner(); if (owner != null) { printFQN(owner, stream); stream.append(' '); } stream.append(command.getName()); }