Class AnnalynsInfiltrationAnalyzer
java.lang.Object
com.github.javaparser.ast.visitor.VoidVisitorAdapter<OutputCollector>
analyzer.exercises.annalynsinfiltration.AnnalynsInfiltrationAnalyzer
- All Implemented Interfaces:
Analyzer
,com.github.javaparser.ast.visitor.VoidVisitor<OutputCollector>
public class AnnalynsInfiltrationAnalyzer
extends com.github.javaparser.ast.visitor.VoidVisitorAdapter<OutputCollector>
implements Analyzer
The
AnnalynsInfiltrationAnalyzer
is the analyzer implementation for the annalyns-infiltration
practice exercise.
It extends from the VoidVisitorAdapter
and uses the visitor pattern to traverse each compilation unit.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
analyze
(Solution solution, OutputCollector output) Analyze the given solution and append analysis results to the given output..void
visit
(com.github.javaparser.ast.expr.BinaryExpr node, OutputCollector output) void
visit
(com.github.javaparser.ast.stmt.IfStmt node, OutputCollector output) void
visit
(com.github.javaparser.ast.stmt.ReturnStmt node, OutputCollector output) Methods inherited from class com.github.javaparser.ast.visitor.VoidVisitorAdapter
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
-
Constructor Details
-
AnnalynsInfiltrationAnalyzer
public AnnalynsInfiltrationAnalyzer()
-
-
Method Details
-
analyze
Description copied from interface:Analyzer
Analyze the given solution and append analysis results to the given output.. Theanalyze
method of each analyzer is invoked once for the whole submitted solution. -
visit
- Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.VoidVisitor<OutputCollector>
- Overrides:
visit
in classcom.github.javaparser.ast.visitor.VoidVisitorAdapter<OutputCollector>
-
visit
- Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.VoidVisitor<OutputCollector>
- Overrides:
visit
in classcom.github.javaparser.ast.visitor.VoidVisitorAdapter<OutputCollector>
-
visit
- Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.VoidVisitor<OutputCollector>
- Overrides:
visit
in classcom.github.javaparser.ast.visitor.VoidVisitorAdapter<OutputCollector>
-