public Module toNormalModule ( Map < String , Boolean > requires ) { if ( ! isAutomatic ( ) ) { throw new IllegalArgumentException ( name ( ) + " not an automatic module" ) ; } return new NormalModule ( this , requires ) ; }
Converts this module to a normal module with the given dependences