void (@NotNull SdkAdditionalData additionalData, @NotNull Element additional) { if (additionalData instanceof Sandbox) { try { ((Sandbox)additionalData).writeExternal(additional); } catch (WriteExternalException e) { LOG.error(e); } } }