public default boolean isModuleOrientedLocation ()

Indicates if this location is module-oriented location, and therefore expected to contain classes in a module/package/class hierarchy, as compared to a package-oriented location, which is expected to contain classes in a package/class hierarchy. The result of this method is undefined if this is an output location.

Returns:  true if this location is expected to contain modules

Since:  9

@implNote This implementation returns true if the name includes the word "MODULE".
@spec JPMS