Class GenerationReport
java.lang.Object
com.arc_e_tect.gradle.apionly.transcriberj.core.GenerationReport
What a generation run could not do in full, and what the specification could do
about it: the end-of-run report D14 asks for.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordA generated method that throws instead of doing its work.static final recordSomething the specification could do better, and how. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondegraded()Every degraded method.voidRecords something worth saying about this generation that is not a problem.notes()What this generation had to say about itself.Every recommendation.The report as text, for a file and a build log.Every construct no generation rule has been decided for.warnings()Everything about the contract's design worth a second look.
-
Constructor Details
-
GenerationReport
public GenerationReport()Creates an empty report.
-
-
Method Details
-
degraded
Every degraded method.- Returns:
- the entries, in the order they were written
-
recommendations
Every recommendation.- Returns:
- the entries, in the order they were made
-
undecided
Every construct no generation rule has been decided for.- Returns:
- the findings, in contract order
-
warnings
Everything about the contract's design worth a second look.- Returns:
- the warnings, in the order they were found
-
note
Records something worth saying about this generation that is not a problem.- Parameters:
note- the note
-
notes
What this generation had to say about itself.- Returns:
- the notes, in the order they were made
-
render
The report as text, for a file and a build log.- Parameters:
contract- the contract's nameversion- the contract's version- Returns:
- the text
-