@Override public void modifyCommandCallTree(final CommandCall element, final List<ExampleCommandCall> examples, final List<CommandCall> beforeExamples) { command.modifyCommandCallTree(element, examples, beforeExamples); }
@Override public void modifyCommandCallTree(final CommandCall element, final List<ExampleCommandCall> examples, final List<CommandCall> beforeExamples) { command.modifyCommandCallTree(element, examples, beforeExamples); }
public void modifyTree(List<ExampleCommandCall> examples, List<CommandCall> beforeExamples) { this.getCommand().modifyCommandCallTree(this, examples, beforeExamples); List<CommandCall> childrenCopy = new ArrayList(getChildren().asCollection()); for (CommandCall childCall: childrenCopy) { childCall.modifyTree(examples, beforeExamples); } }
public void modifyTree(List<ExampleCommandCall> examples, List<CommandCall> beforeExamples) { this.getCommand().modifyCommandCallTree(this, examples, beforeExamples); List<CommandCall> childrenCopy = new ArrayList(getChildren().asCollection()); for (CommandCall childCall: childrenCopy) { childCall.modifyTree(examples, beforeExamples); } }