CommandState commandState = new CommandState();
CommandLineInputCapturer inputCapturer = getInputCapturer(classNameToSearch);
commandState.setInputCapturer(inputCapturer);
commandState.capture(command);
command.execute(commandState);
List<String> foundClasses = command.getFoundClasses();
for (String className : foundClasses) {