code: private static Widget findChildByNameInOneGroup(final String name,
                                                      final Widget groupWidget, ArrayList<Widget> groupChildren) {
          Collection<Widget> children = groupWidget.getChildren();
          for (Widget child : children) {
              if (child.getName() != null && child.getName().equals(name)) {
                  return child;
              }
              if (child instanceof GroupWidget) {
                  // Save the child for the next level of search if needed.
                  groupChildren.add(child);
              }
          }
          return null;
      }
docs: Searches the immediate children of {@link GroupWidget groupWidget} for a
  {@link Widget} with the specified {@link Widget#getName() name}.
  <p>
  Any non-matching {@code GroupWidget} children iterated prior to finding a
  match will be added to {@code groupChildren}. If no match is found, all
  immediate {@code GroupWidget} children will be added.
  
  @param name
  The name of the {@code Widget} to find.
  @param groupWidget
  The {@code GroupWidget} to search.
  @param groupChildren
  Output array for non-matching {@code GroupWidget} children.
  @return The first {@code Widget} with the specified name or {@code null}
  if no child of {@code groupWidget} has that name.