public void generateAnnotations(final Iterable<JvmAnnotationReference> annotations, final ITreeAppendable appendable, final boolean withLineBreak, final GeneratorConfig config) {
final Function1<ITreeAppendable, ITreeAppendable> _function = (ITreeAppendable it) -> {
ITreeAppendable _xifexpression = null;
if (withLineBreak) {
_xifexpression = it.newLine();
} else {
_xifexpression = it.append(" ");
}
return _xifexpression;
};
final Function1<ITreeAppendable, ITreeAppendable> sep = _function;
final Procedure1<LoopParams> _function_1 = (LoopParams it) -> {
it.setSeparator(sep);
it.setSuffix(sep);
};
final Procedure2<JvmAnnotationReference, ITreeAppendable> _function_2 = (JvmAnnotationReference it, ITreeAppendable app) -> {
this.generateAnnotation(it, app, config);
};
this._errorSafeExtensions.<JvmAnnotationReference>forEachSafely(appendable, annotations, _function_1, _function_2);
}