@@ -140,6 +140,7 @@ Options::Options(
140
140
dump_class_intervals_(false ),
141
141
dump_overrides_(false ),
142
142
dump_call_graph_(false ),
143
+ dump_unresolved_methods_(false ),
143
144
dump_dependencies_(false ),
144
145
dump_methods_(false ),
145
146
dump_coverage_info_(false ),
@@ -277,6 +278,7 @@ Options::Options(const boost::program_options::variables_map& variables) {
277
278
dump_class_intervals_ = variables.count (" dump-class-intervals" ) > 0 ;
278
279
dump_overrides_ = variables.count (" dump-overrides" ) > 0 ;
279
280
dump_call_graph_ = variables.count (" dump-call-graph" ) > 0 ;
281
+ dump_unresolved_methods_ = variables.count (" dump-unresolved-methods" ) > 0 ;
280
282
dump_dependencies_ = variables.count (" dump-dependencies" ) > 0 ;
281
283
dump_methods_ = variables.count (" dump-methods" ) > 0 ;
282
284
dump_coverage_info_ = variables.count (" dump-coverage-info" ) > 0 ;
@@ -444,6 +446,8 @@ void Options::add_options(
444
446
" dump-overrides" , " Dump the override graph in `overrides.json`." );
445
447
options.add_options ()(
446
448
" dump-call-graph" , " Dump the call graph in `call_graph.json`." );
449
+ options.add_options ()(
450
+ " dump-unresolved-methods" , " Dump the list of unresolved methods in `unresolved_methods.json`." );
447
451
options.add_options ()(
448
452
" dump-dependencies" , " Dump the dependency graph in `dependencies.json`." );
449
453
options.add_options ()(
@@ -579,6 +583,10 @@ const std::filesystem::path Options::call_graph_output_path() const {
579
583
return output_directory_;
580
584
}
581
585
586
+ const std::filesystem::path Options::unresolved_methods_output_path () const {
587
+ return output_directory_ / " unresolved_methods.json" ;
588
+ }
589
+
582
590
const std::filesystem::path Options::class_hierarchies_output_path () const {
583
591
return output_directory_ / " class_hierarchies.json" ;
584
592
}
@@ -688,6 +696,10 @@ bool Options::dump_call_graph() const {
688
696
return dump_call_graph_;
689
697
}
690
698
699
+ bool Options::dump_unresolved_methods () const {
700
+ return dump_unresolved_methods_;
701
+ }
702
+
691
703
bool Options::dump_dependencies () const {
692
704
return dump_dependencies_;
693
705
}
0 commit comments