equal
deleted
inserted
replaced
719 options.showModule); |
719 options.showModule); |
720 |
720 |
721 return run(config, writer, type); |
721 return run(config, writer, type); |
722 } |
722 } |
723 |
723 |
724 boolean run(JdepsConfiguration config, JdepsWriter writer, Type type) throws IOException { |
724 boolean run(JdepsConfiguration config, JdepsWriter writer, Type type) |
725 |
725 throws IOException |
726 |
726 { |
727 // analyze the dependencies |
727 // analyze the dependencies |
728 DepsAnalyzer analyzer = new DepsAnalyzer(config, |
728 DepsAnalyzer analyzer = new DepsAnalyzer(config, |
729 dependencyFilter(config), |
729 dependencyFilter(config), |
730 writer, |
730 writer, |
731 type, |
731 type, |
1022 |
1022 |
1023 @Override |
1023 @Override |
1024 boolean run(JdepsConfiguration config) throws IOException { |
1024 boolean run(JdepsConfiguration config) throws IOException { |
1025 if ((options.showSummary || options.verbose == MODULE) && |
1025 if ((options.showSummary || options.verbose == MODULE) && |
1026 !options.addmods.isEmpty() && inputArgs.isEmpty()) { |
1026 !options.addmods.isEmpty() && inputArgs.isEmpty()) { |
1027 // print module descriptor |
1027 // generate dot graph from the resolved graph from module |
1028 return new ModuleAnalyzer(config, log).genDotFiles(dotOutputDir); |
1028 // resolution. No class dependency analysis is performed. |
|
1029 return new ModuleDotGraph(config, options.apiOnly) |
|
1030 .genDotFiles(dotOutputDir); |
1029 } |
1031 } |
1030 |
1032 |
1031 Type type = getAnalyzerType(); |
1033 Type type = getAnalyzerType(); |
1032 JdepsWriter writer = new DotFileWriter(dotOutputDir, |
1034 JdepsWriter writer = new DotFileWriter(dotOutputDir, |
1033 type, |
1035 type, |