public default Iterable<Set<Location>> listLocationsForModules (Location location) throws IOException

Lists the locations for all the modules in a module-oriented location or an output location. The locations that are returned will be output locations if the given location is an output, or it will be a package-oriented locations.

Parameters:
location    the module-oriented location for which to list the modules

Returns:  a series of sets of locations containing modules

Exceptions:
IOException    if an I/O error occurred
UnsupportedOperationException    if this operation if not supported by this file manager
IllegalArgumentException    if the location is not a module-oriented location

Since:  9

@implSpec This implementation throws UnsupportedOperationException.
@spec JPMS