in analyzer/src/main/java/com/android/tools/sizereduction/analyzer/cli/CheckProject.java [85:107]
public Void call() {
if (applyFixes && showFixes) {
System.out.println(
"--apply-fixes and --show-fixes are mutually exclusive and cannot both be"
+ " true at the same time.");
return null;
}
try {
ImmutableList<Suggestion> suggestions = PROJECT_ANALYZER.analyze(directory);
TerminalInterface.create(
suggestions,
categories != null ? ImmutableList.copyOf(categories) : ImmutableList.of(),
displayAll,
applyFixes,
showFixes)
.displaySuggestions();
} catch (Exception e) {
throw e;
}
return null;
}