forax / pro

A Java build tool that works seamlessly with modules
GNU General Public License v3.0
103 stars 15 forks source link

Fix module source generator #47

Closed sormuras closed 7 years ago

sormuras commented 7 years ago

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)