Hi!
I have pushed the changes adding these two methods. Please take a look and
let me know if any changes are needed.
Thanks.
Regards,
Kartik
> An element is a module if it is a directory and has a module-info.class,
> or it is a jar and either contains a module-info.class or has an
> Automatic-Module-Name entry in its manifest.
>
> Such a method would also be a good place for checking that no element
> contains pathSeparator as part of its name, as that would lead to a
> malformed path,
>