FieldDeclaration checkpointField = ast.newFieldDeclaration(fragment);
checkpointField.setType(createType(ast, typeName));
checkpointField.modifiers().add(
ast.newModifier(Modifier.ModifierKeyword.PROTECTED_KEYWORD));
checkpointField.modifiers().add(
ast.newModifier(Modifier.ModifierKeyword.TRANSIENT_KEYWORD));
if (parent != null) {
addToLists(_nodeSubstitution, parent.getName(), new NodeReplace(
checkpointField, null));