public interface FieldPrecondition
CodeLines
,
so the interface methods are not returning any generated code.Modifier and Type | Method and Description |
---|---|
void |
exitNullCheck()
Generates the code to exit the
null check block and return to the upper level. |
void |
performNullCheck(java.lang.String value,
java.lang.String mergeFieldFormat)
Generates the code which checks the given field value for
null . |
void performNullCheck(java.lang.String value, java.lang.String mergeFieldFormat)
null
.
The merge field format is specified so the precondition can interact with the field itself in case the check passes/fails.
value
- the name of the variable representing the field value to checkmergeFieldFormat
- the code that sets/adds value to the fieldvoid exitNullCheck()
null
check block and return to the upper level.