public static final class CodeContext.Builder
extends java.lang.Object
code context.| Constructor and Description |
|---|
Builder()
Constructor.
|
Builder(CodeContext codeContext)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
CodeContext |
build()
Builds the
code context. |
CodeContext.Builder |
post(java.util.List<java.lang.String> post)
The lines of code after the one that triggered the error.
|
CodeContext.Builder |
pre(java.util.List<java.lang.String> pre)
The lines of code before the one that triggered the error.
|
public Builder()
public Builder(CodeContext codeContext)
codeContext - the code context to initialize a new builder instance.public CodeContext.Builder pre(java.util.List<java.lang.String> pre)
pre - the pre.public CodeContext.Builder post(java.util.List<java.lang.String> post)
post - the post.public CodeContext build()
code context.