Index
All Classes and Interfaces|All Packages
A
- ACTIONABLE - Enum constant in enum class analyzer.Comment.Type
- addComment(Comment) - Method in interface analyzer.OutputCollector
-
Add a new comment to the analysis.
- addTag(String) - Method in interface analyzer.OutputCollector
-
Add a new tag to the analysis.
- analysis() - Method in record class analyzer.Output
-
Returns the value of the
analysisrecord component. - Analysis(String, List<Comment>) - Constructor for record class analyzer.Output.Analysis
-
Creates an instance of a
Analysisrecord class. - analyze(Solution) - Static method in class analyzer.AnalyzerRoot
-
Perform the analysis of a solution.
- analyze(Solution, OutputCollector) - Method in interface analyzer.Analyzer
-
Analyze the given solution and append analysis results to the given output..
- analyze(Solution, OutputCollector) - Method in class analyzer.exercises.annalynsinfiltration.AnnalynsInfiltrationAnalyzer
- analyze(Solution, OutputCollector) - Method in class analyzer.exercises.GlobalAnalyzer
- analyze(Solution, OutputCollector) - Method in class analyzer.exercises.hamming.HammingAnalyzer
- analyze(Solution, OutputCollector) - Method in class analyzer.exercises.lasagna.LasagnaAnalyzer
- analyze(Solution, OutputCollector) - Method in class analyzer.exercises.leap.LeapAnalyzer
- analyze(Solution, OutputCollector) - Method in class analyzer.exercises.loglevels.LogLevelsAnalyzer
- analyze(Solution, OutputCollector) - Method in class analyzer.exercises.needforspeed.NeedForSpeedAnalyzer
- analyze(Solution, OutputCollector) - Method in class analyzer.exercises.salarycalculator.SalaryCalculatorAnalyzer
- analyze(Solution, OutputCollector) - Method in class analyzer.exercises.secrets.SecretsAnalyzer
- analyze(Solution, OutputCollector) - Method in class analyzer.exercises.timfrommarketing.TimFromMarketingAnalyzer
- analyze(Solution, OutputCollector) - Method in class analyzer.exercises.twofer.TwoferAnalyzer
- analyze(Solution, OutputCollector) - Method in class analyzer.exercises.wizardsandwarriors.WizardsAndWarriorsAnalyzer
- analyze(Solution, OutputCollector) - Method in class analyzer.exercises.wizardsandwarriors2.WizardsAndWarriors2Analyzer
- analyzer - package analyzer
- Analyzer - Interface in analyzer
-
The
Analyzerinterface is used to implement both global and exercise-specific analyzers. - analyzer.comments - package analyzer.comments
- analyzer.exercises - package analyzer.exercises
- analyzer.exercises.annalynsinfiltration - package analyzer.exercises.annalynsinfiltration
- analyzer.exercises.hamming - package analyzer.exercises.hamming
- analyzer.exercises.lasagna - package analyzer.exercises.lasagna
- analyzer.exercises.leap - package analyzer.exercises.leap
- analyzer.exercises.loglevels - package analyzer.exercises.loglevels
- analyzer.exercises.needforspeed - package analyzer.exercises.needforspeed
- analyzer.exercises.salarycalculator - package analyzer.exercises.salarycalculator
- analyzer.exercises.secrets - package analyzer.exercises.secrets
- analyzer.exercises.timfrommarketing - package analyzer.exercises.timfrommarketing
- analyzer.exercises.twofer - package analyzer.exercises.twofer
- analyzer.exercises.wizardsandwarriors - package analyzer.exercises.wizardsandwarriors
- analyzer.exercises.wizardsandwarriors2 - package analyzer.exercises.wizardsandwarriors2
- AnalyzerCli - Class in analyzer
-
The main entrypoint to the Java analyzer from the command-line.
- AnalyzerCli() - Constructor for class analyzer.AnalyzerCli
- AnalyzerRoot - Class in analyzer
-
The
AnalyzerRootis the initial entrypoint when analyzing a solution. - AnnalynsInfiltrationAnalyzer - Class in analyzer.exercises.annalynsinfiltration
-
The
AnnalynsInfiltrationAnalyzeris the analyzer implementation for theannalyns-infiltrationpractice exercise. - AnnalynsInfiltrationAnalyzer() - Constructor for class analyzer.exercises.annalynsinfiltration.AnnalynsInfiltrationAnalyzer
- AvoidBooleanLiteralReturns - Class in analyzer.exercises.annalynsinfiltration
- AvoidBooleanLiteralReturns() - Constructor for class analyzer.exercises.annalynsinfiltration.AvoidBooleanLiteralReturns
- AvoidComparisonWithLiteral - Class in analyzer.exercises.annalynsinfiltration
- AvoidComparisonWithLiteral() - Constructor for class analyzer.exercises.annalynsinfiltration.AvoidComparisonWithLiteral
- AvoidHardCodedTestCases - Class in analyzer.comments
-
This comment instructs students not to hard-code values used in the exercise tests.
- AvoidHardCodedTestCases() - Constructor for class analyzer.comments.AvoidHardCodedTestCases
- AvoidIfStatements - Class in analyzer.exercises.annalynsinfiltration
- AvoidIfStatements() - Constructor for class analyzer.exercises.annalynsinfiltration.AvoidIfStatements
- AvoidPrintStatements - Class in analyzer.comments
-
This comment instructs students not to use print statements in order to debug their solution.
- AvoidPrintStatements() - Constructor for class analyzer.comments.AvoidPrintStatements
C
- CELEBRATORY - Enum constant in enum class analyzer.Comment.Type
- Comment - Class in analyzer
-
The
Commentclass models a single comment in the analysis output. - Comment() - Constructor for class analyzer.Comment
- Comment.Type - Enum Class in analyzer
-
The type of comment.
- comments() - Method in record class analyzer.Output.Analysis
-
Returns the value of the
commentsrecord component. - ConstructorTooLong - Class in analyzer.comments
-
This comment indicates that the code in the solution's constructor is too long, and that it would benefit from being broken up into helper methods.
- ConstructorTooLong(String) - Constructor for class analyzer.comments.ConstructorTooLong
- ConstructorTooLong(Collection<String>) - Constructor for class analyzer.comments.ConstructorTooLong
D
- DoNotUseMainMethod - Class in analyzer.comments
-
Use this comment if a solution has defined a static
mainmethod. - DoNotUseMainMethod() - Constructor for class analyzer.comments.DoNotUseMainMethod
E
- equals(Comment) - Method in class analyzer.Comment
- equals(Object) - Method in class analyzer.Comment
- equals(Object) - Method in record class analyzer.Output.Analysis
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class analyzer.Output
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class analyzer.Output.Tags
-
Indicates whether some other object is "equal to" this one.
- ESSENTIAL - Enum constant in enum class analyzer.Comment.Type
- ExemplarSolution - Class in analyzer.comments
-
Use this comment if the solution is comparable to the exemplar solution.
- ExemplarSolution(String) - Constructor for class analyzer.comments.ExemplarSolution
F
- FeedbackRequest - Class in analyzer.comments
-
This comment requests students to leave feedback on the analyzer comments.
- FeedbackRequest() - Constructor for class analyzer.comments.FeedbackRequest
G
- getComments() - Method in interface analyzer.OutputCollector
-
Retrieve a copy of the comments added to this analysis.
- getCompilationUnits() - Method in interface analyzer.Solution
-
Get the parsed Java files that are part of the solution.
- getKey() - Method in class analyzer.Comment
-
The comment key is a
Stringthat uniquely identifies the comment. - getKey() - Method in class analyzer.comments.AvoidHardCodedTestCases
- getKey() - Method in class analyzer.comments.AvoidPrintStatements
- getKey() - Method in class analyzer.comments.ConstructorTooLong
- getKey() - Method in class analyzer.comments.DoNotUseMainMethod
- getKey() - Method in class analyzer.comments.ExemplarSolution
- getKey() - Method in class analyzer.comments.FeedbackRequest
- getKey() - Method in class analyzer.comments.MethodTooLong
- getKey() - Method in class analyzer.comments.PreferStringConcatenation
- getKey() - Method in class analyzer.comments.RemoveTodoComments
- getKey() - Method in class analyzer.comments.ReuseCode
- getKey() - Method in class analyzer.exercises.annalynsinfiltration.AvoidBooleanLiteralReturns
- getKey() - Method in class analyzer.exercises.annalynsinfiltration.AvoidComparisonWithLiteral
- getKey() - Method in class analyzer.exercises.annalynsinfiltration.AvoidIfStatements
- getKey() - Method in class analyzer.exercises.annalynsinfiltration.RedundantParentheses
- getKey() - Method in class analyzer.exercises.timfrommarketing.UseNullLiteral
- getKey() - Method in class analyzer.exercises.wizardsandwarriors2.ReuseCodeFromDescribeThreeParams
- getKey() - Method in class analyzer.exercises.wizardsandwarriors2.ReuseCodeFromDescribeTwoParams
- getParameters() - Method in class analyzer.Comment
-
Each parameter in the Markdown template should have a corresponding parameter in the comment.
- getParameters() - Method in class analyzer.comments.ConstructorTooLong
- getParameters() - Method in class analyzer.comments.ExemplarSolution
- getParameters() - Method in class analyzer.comments.MethodTooLong
- getParameters() - Method in class analyzer.comments.ReuseCode
- getSlug() - Method in interface analyzer.Solution
-
Get the slug of the exercise to which the solution belongs.
- getSummary() - Method in interface analyzer.OutputCollector
-
The summary is a short description of the complete analysis result.
- getTags() - Method in interface analyzer.OutputCollector
-
Retrieve a copy of the tags added to this analysis.
- getType() - Method in class analyzer.Comment
-
Use
Comment.Type.ESSENTIALto instruct students that they must address it. UseComment.Type.ACTIONABLEto instruct students that they could improve their solution by addressing it. UseComment.Type.INFORMATIVEto give students extra information without expecting them to use it. UseComment.Type.CELEBRATORYto tell students that they did something right. - getType() - Method in class analyzer.comments.AvoidHardCodedTestCases
- getType() - Method in class analyzer.comments.ConstructorTooLong
- getType() - Method in class analyzer.comments.DoNotUseMainMethod
- getType() - Method in class analyzer.comments.ExemplarSolution
- getType() - Method in class analyzer.comments.MethodTooLong
- getType() - Method in class analyzer.comments.PreferStringConcatenation
- getType() - Method in class analyzer.comments.RemoveTodoComments
- getType() - Method in class analyzer.comments.ReuseCode
- getType() - Method in class analyzer.exercises.annalynsinfiltration.AvoidBooleanLiteralReturns
- getType() - Method in class analyzer.exercises.annalynsinfiltration.AvoidComparisonWithLiteral
- getType() - Method in class analyzer.exercises.annalynsinfiltration.AvoidIfStatements
- getType() - Method in class analyzer.exercises.annalynsinfiltration.RedundantParentheses
- getType() - Method in class analyzer.exercises.timfrommarketing.UseNullLiteral
- getType() - Method in class analyzer.exercises.wizardsandwarriors2.ReuseCodeFromDescribeThreeParams
- getType() - Method in class analyzer.exercises.wizardsandwarriors2.ReuseCodeFromDescribeTwoParams
- GlobalAnalyzer - Class in analyzer.exercises
-
The
GlobalAnalyzercontains checks that are exercise-agnostic, such as whether a solution is using print statements or a staticmainmethod. - GlobalAnalyzer() - Constructor for class analyzer.exercises.GlobalAnalyzer
H
- HammingAnalyzer - Class in analyzer.exercises.hamming
-
The
HammingAnalyzeris the analyzer implementation for thehammingpractice exercise. - HammingAnalyzer() - Constructor for class analyzer.exercises.hamming.HammingAnalyzer
- hashCode() - Method in class analyzer.Comment
- hashCode() - Method in record class analyzer.Output.Analysis
-
Returns a hash code value for this object.
- hashCode() - Method in record class analyzer.Output
-
Returns a hash code value for this object.
- hashCode() - Method in record class analyzer.Output.Tags
-
Returns a hash code value for this object.
I
- INFORMATIVE - Enum constant in enum class analyzer.Comment.Type
L
- LasagnaAnalyzer - Class in analyzer.exercises.lasagna
-
The
LasagnaAnalyzeris the analyzer implementation for thelasagnaconcept exercise. - LasagnaAnalyzer() - Constructor for class analyzer.exercises.lasagna.LasagnaAnalyzer
- LeapAnalyzer - Class in analyzer.exercises.leap
-
The
LeapAnalyzeris the analyzer implementation for theleappractice exercise. - LeapAnalyzer() - Constructor for class analyzer.exercises.leap.LeapAnalyzer
- LogLevelsAnalyzer - Class in analyzer.exercises.loglevels
-
The
LogLevelsAnalyzeris the analyzer implementation for thelog-levelspractice exercise. - LogLevelsAnalyzer() - Constructor for class analyzer.exercises.loglevels.LogLevelsAnalyzer
M
- main(String...) - Static method in class analyzer.AnalyzerCli
- MethodTooLong - Class in analyzer.comments
-
This comment indicates that a method in the solution is too long, and that it could benefit from being split up into multiple helper methods.
- MethodTooLong(String) - Constructor for class analyzer.comments.MethodTooLong
- MethodTooLong(Collection<String>) - Constructor for class analyzer.comments.MethodTooLong
N
- NeedForSpeedAnalyzer - Class in analyzer.exercises.needforspeed
-
The
NeedForSpeedAnalyzeris the analyzer implementation for theneed-for-speedpractice exercise. - NeedForSpeedAnalyzer() - Constructor for class analyzer.exercises.needforspeed.NeedForSpeedAnalyzer
O
- Output - Record Class in analyzer
- Output(Output.Analysis, Output.Tags) - Constructor for record class analyzer.Output
-
Creates an instance of a
Outputrecord class. - Output.Analysis - Record Class in analyzer
- Output.Tags - Record Class in analyzer
- OutputCollector - Interface in analyzer
-
This interface is used to collect analyzer output in the form of comments, tags and an optional summary.
P
- PreferStringConcatenation - Class in analyzer.comments
- PreferStringConcatenation() - Constructor for class analyzer.comments.PreferStringConcatenation
R
- RedundantParentheses - Class in analyzer.exercises.annalynsinfiltration
- RedundantParentheses() - Constructor for class analyzer.exercises.annalynsinfiltration.RedundantParentheses
- RemoveTodoComments - Class in analyzer.comments
-
This comment instructs students to remove lef-over to-do comments from their solution.
- RemoveTodoComments() - Constructor for class analyzer.comments.RemoveTodoComments
- ReuseCode - Class in analyzer.comments
- ReuseCode(String, String) - Constructor for class analyzer.comments.ReuseCode
- ReuseCodeFromDescribeThreeParams - Class in analyzer.exercises.wizardsandwarriors2
- ReuseCodeFromDescribeThreeParams() - Constructor for class analyzer.exercises.wizardsandwarriors2.ReuseCodeFromDescribeThreeParams
- ReuseCodeFromDescribeTwoParams - Class in analyzer.exercises.wizardsandwarriors2
- ReuseCodeFromDescribeTwoParams() - Constructor for class analyzer.exercises.wizardsandwarriors2.ReuseCodeFromDescribeTwoParams
S
- SalaryCalculatorAnalyzer - Class in analyzer.exercises.salarycalculator
-
The
SalaryCalculatorAnalyzeris the analyzer implementation for thesalary-calculatorpractice exercise. - SalaryCalculatorAnalyzer() - Constructor for class analyzer.exercises.salarycalculator.SalaryCalculatorAnalyzer
- SecretsAnalyzer - Class in analyzer.exercises.secrets
-
The
SecretsAnalyzeris the analyzer implementation for thesecretspractice exercise. - SecretsAnalyzer() - Constructor for class analyzer.exercises.secrets.SecretsAnalyzer
- setSummary(String) - Method in interface analyzer.OutputCollector
-
Set the summary of the analysis.
- Solution - Interface in analyzer
-
This represents the solution to an exercise.
- summary() - Method in record class analyzer.Output.Analysis
-
Returns the value of the
summaryrecord component.
T
- tags() - Method in record class analyzer.Output
-
Returns the value of the
tagsrecord component. - tags() - Method in record class analyzer.Output.Tags
-
Returns the value of the
tagsrecord component. - Tags(List<String>) - Constructor for record class analyzer.Output.Tags
-
Creates an instance of a
Tagsrecord class. - TimFromMarketingAnalyzer - Class in analyzer.exercises.timfrommarketing
- TimFromMarketingAnalyzer() - Constructor for class analyzer.exercises.timfrommarketing.TimFromMarketingAnalyzer
- toString() - Method in class analyzer.Comment
- toString() - Method in record class analyzer.Output.Analysis
-
Returns a string representation of this record class.
- toString() - Method in record class analyzer.Output.Tags
-
Returns a string representation of this record class.
- toString() - Method in record class analyzer.Output
-
Returns a string representation of this record class.
- TwoferAnalyzer - Class in analyzer.exercises.twofer
-
The
TwoferAnalyzeris the analyzer implementation for thetwo-ferpractice exercise. - TwoferAnalyzer() - Constructor for class analyzer.exercises.twofer.TwoferAnalyzer
U
- UseNullLiteral - Class in analyzer.exercises.timfrommarketing
- UseNullLiteral() - Constructor for class analyzer.exercises.timfrommarketing.UseNullLiteral
V
- valueOf(String) - Static method in enum class analyzer.Comment.Type
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class analyzer.Comment.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- visit(MethodDeclaration, OutputCollector) - Method in class analyzer.exercises.GlobalAnalyzer
- visit(MethodDeclaration, OutputCollector) - Method in class analyzer.exercises.lasagna.LasagnaAnalyzer
- visit(MethodDeclaration, OutputCollector) - Method in class analyzer.exercises.leap.LeapAnalyzer
- visit(MethodDeclaration, OutputCollector) - Method in class analyzer.exercises.loglevels.LogLevelsAnalyzer
- visit(MethodDeclaration, OutputCollector) - Method in class analyzer.exercises.salarycalculator.SalaryCalculatorAnalyzer
- visit(MethodDeclaration, OutputCollector) - Method in class analyzer.exercises.secrets.SecretsAnalyzer
- visit(MethodDeclaration, OutputCollector) - Method in class analyzer.exercises.timfrommarketing.TimFromMarketingAnalyzer
- visit(MethodDeclaration, OutputCollector) - Method in class analyzer.exercises.twofer.TwoferAnalyzer
- visit(MethodDeclaration, OutputCollector) - Method in class analyzer.exercises.wizardsandwarriors2.WizardsAndWarriors2Analyzer
- visit(LineComment, OutputCollector) - Method in class analyzer.exercises.lasagna.LasagnaAnalyzer
- visit(CompilationUnit, OutputCollector) - Method in class analyzer.exercises.leap.LeapAnalyzer
- visit(BinaryExpr, OutputCollector) - Method in class analyzer.exercises.annalynsinfiltration.AnnalynsInfiltrationAnalyzer
- visit(ConditionalExpr, OutputCollector) - Method in class analyzer.exercises.leap.LeapAnalyzer
- visit(IntegerLiteralExpr, OutputCollector) - Method in class analyzer.exercises.leap.LeapAnalyzer
- visit(MethodCallExpr, OutputCollector) - Method in class analyzer.exercises.GlobalAnalyzer
- visit(ImportDeclaration, OutputCollector) - Method in class analyzer.exercises.leap.LeapAnalyzer
- visit(IfStmt, OutputCollector) - Method in class analyzer.exercises.annalynsinfiltration.AnnalynsInfiltrationAnalyzer
- visit(IfStmt, OutputCollector) - Method in class analyzer.exercises.leap.LeapAnalyzer
- visit(ReturnStmt, OutputCollector) - Method in class analyzer.exercises.annalynsinfiltration.AnnalynsInfiltrationAnalyzer
W
- WizardsAndWarriors2Analyzer - Class in analyzer.exercises.wizardsandwarriors2
-
The
WizardsAndWarriors2Analyzeris the analyzer implementation for thewizards-and-warriors-2concept exercise. - WizardsAndWarriors2Analyzer() - Constructor for class analyzer.exercises.wizardsandwarriors2.WizardsAndWarriors2Analyzer
- WizardsAndWarriorsAnalyzer - Class in analyzer.exercises.wizardsandwarriors
-
The
WizardsAndWarriorsAnalyzeris the analyzer implementation for thewizards-and-warriorspractice exercise. - WizardsAndWarriorsAnalyzer() - Constructor for class analyzer.exercises.wizardsandwarriors.WizardsAndWarriorsAnalyzer
All Classes and Interfaces|All Packages