code: public static List<ModuleElement>
              modulesIn(Iterable<? extends Element> elements) {
          return listFilter(elements, MODULE_KIND, ModuleElement.class);
      }
docs: Returns a list of modules in {@code elements}.
  @return a list of modules in {@code elements}
  @param elements the elements to filter
  @since 9
  @spec JPMS