}
public ElementWriterBuilderImpl getWriterBuilder() {
if (wrapperElement) throw new IllegalStateException("Wrapper elements do not have a write builder");
if (writerBuilder == null) {
writerBuilder = new ElementWriterBuilderImpl(builderContext.getBuildContext(), jaxbObjectClass, type);
writerBuilder.getMethod()._throws(Exception.class);
if (!type.isEnum()) {
JBlock body = writerBuilder.getMethod().body();