code: public <T extends ElementBase> Iterable<T> getChildren(Class<T> clazz) {
          return MiscUtil.iterableForType(children, clazz);
      }
docs: Returns an iterable of this component's children restricted to the specified type.
  
  @param <T> Type of children returned by iterable.
  @param clazz Restrict to children of this type.
  @return Iterable of this component's children.