class AssertionFormatterMethodObject
A method object used for interactions between AssertionFormatterController and AssertionFormatter.
val assertionFilter: (Assertion) -> Boolean
Can be used used to filter out Assertions which should not be formatted.  | 
|
val prefix: String
The current prefix per assertion.  | 
|
val sb: StringBuilder
The StringBuilder to which the formatted Assertion will be appended.  | 
fun appendLnAndIndent(): Unit
Appends a new line (system separator), spaces equal to the number of indentLevel and the prefix to sb.  | 
|
fun appendLnIndentAndPrefix(): Unit
Appends a new line (system separator), spaces equal to the number of indentLevel and the prefix to sb.  | 
|
fun createChildWithNewPrefix(newPrefix: String): AssertionFormatterMethodObject
Creates an AssertionFormatterMethodObject for kind of a child of the current method object using the given newPrefix (the child will typically be used to indent Assertions one level more).  | 
|
fun createChildWithNewPrefixAndAdditionalIndent(newPrefix: String, additionalIndent: Int): AssertionFormatterMethodObject
Creates an AssertionFormatterMethodObject for kind of a child of the current method object using the given newPrefix and an additionalIndent (the child will typically be used to indent Assertions one level more).  | 
|
fun createForDoNotFilterAssertionGroup(): AssertionFormatterMethodObject
Clones the current AssertionFormatterMethodObject and increases numberOfDoNotFilterGroups by one because it is assumed that the resulting methodObject is used to format an AssertionGroup of type DoNotFilterAssertionGroupType.  | 
|
fun indent(numberOfSpaces: Int): Unit
Appends spaces equal to numberOfSpaces to sb.  | 
|
fun isNotInDoNotFilterGroup(): Boolean
Indicates that the formatting process is currently not formatting the Assertions (or any nested assertion) of an AssertionGroup of type DoNotFilterAssertionGroupType.  | 
fun new(sb: StringBuilder, assertionFilter: (Assertion) -> Boolean): AssertionFormatterMethodObject
Creates a new AssertionFormatterMethodObject, one without a prefix and with indentLevel = 0.  |