// Ghastly hack: reaches in and finishes building out the SAMFileReader.
// TODO: Generalize this, and move it to its own initialization step.
if( targetValue instanceof SAMFileReaderBuilder) {
SAMFileReaderBuilder builder = (SAMFileReaderBuilder)targetValue;
builder.setValidationStringency(strictnessLevel);
targetValue = builder.build();
}
JVMUtils.setFieldValue( targetField.field, walker, targetValue );
}
}