Class WizardsAndWarriorsAnalyzer

java.lang.Object
analyzer.exercises.wizardsandwarriors.WizardsAndWarriorsAnalyzer
All Implemented Interfaces:
Analyzer

public class WizardsAndWarriorsAnalyzer extends Object implements Analyzer
The WizardsAndWarriorsAnalyzer is the analyzer implementation for the wizards-and-warriors practice exercise. It has a subclass WizardsAndWarriorsClassAnalyzer that extends the VoidVisitorAdapter and uses the visitor pattern to traverse each compilation unit.
See Also:
  • Constructor Details

    • WizardsAndWarriorsAnalyzer

      public WizardsAndWarriorsAnalyzer()
  • Method Details

    • analyze

      public void analyze(Solution solution, OutputCollector output)
      Description copied from interface: Analyzer
      Analyze the given solution and append analysis results to the given output.. The analyze method of each analyzer is invoked once for the whole submitted solution.
      Specified by:
      analyze in interface Analyzer
      Parameters:
      solution - The solution that should be analyzed.
      output - The output collector instance used to collect analyzer results. This instance is shared across all analyzers, and should be used to add comments and tags, or set a summary.