-
-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathAnalyzer.java
More file actions
17 lines (16 loc) · 729 Bytes
/
Analyzer.java
File metadata and controls
17 lines (16 loc) · 729 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package analyzer;
/**
* The {@code Analyzer} interface is used to implement both global and exercise-specific analyzers.
*/
public interface Analyzer {
/**
* Analyze the given solution and append analysis results to the given output..
* The {@code analyze} method of each analyzer is invoked once for the whole submitted solution.
*
* @param solution The solution that should be analyzed.
* @param 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.
*/
void analyze(Solution solution, OutputCollector output);
}