@NonNull
@Override
Element collect(ReportField reportField, ReportBuilder reportBuilder) {
switch (reportField) {
case STACK_TRACE:
<BUG>return new SimpleElement(
</BUG>
getStackTrace(reportBuilder.getMessage(), reportBuilder.getException()));
case STACK_TRACE_HASH:
<BUG>return new SimpleElement(getStackTraceHash(reportBuilder.getException()));
</BUG>
default:

@NonNull
@Override
Element collect(ReportField reportField, ReportBuilder reportBuilder) {
switch (reportField) {
case STACK_TRACE:
return new StringElement(
getStackTrace(reportBuilder.getMessage(), reportBuilder.getException()));
case STACK_TRACE_HASH:
return new StringElement(getStackTraceHash(reportBuilder.getException()));
default:
