public final class Example extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
fixed(String example)
Create an example text (usually just one sentence) without an error - the fixed error (compared to the text created
with
wrong(String)) must be marked with {@code |
static IncorrectExample |
wrong(String example)
Create an example text (usually just one sentence) with an error - the error must be marked with {@code
|
public static IncorrectExample wrong(String example)
<marker>...</marker>.IllegalArgumentException - if the <marker>...</marker> is missingpublic static String fixed(String example)
wrong(String)) must be marked with <marker>...</marker>.IllegalArgumentException - if the <marker>...</marker> is missing