Prior to this commit the module source generator used "Requires::name" to print a "requires" directive line. That missed potentially attached modifiers like "transitive" or "static".
Now "Requires::toString" is used as it prepends attached modifiers in front the required module name.
Prior to this commit the module source generator used
"Requires::name"
to print a"requires"
directive line. That missed potentially attached modifiers like"transitive"
or"static"
.Now
"Requires::toString"
is used as it prepends attached modifiers in front the required module name.(cherry picked from commit 6b44223)