way-auto-optional.PojoBuilder.mustache Maven / Gradle / Ivy
package {{superClass.package.name}};
{{#imports}}
import {{qualifiedName}};
{{/imports}}
@javax.annotation.Generated("br.com.objectos.way.auto.optional.AutoOptionalProcessor")
public interface {{superClass.name}}Builder {
{{#builderInterfaces}}
{{#first}}
{{#declarations}}
{{superClass.name}}{{{text}}};
{{/declarations}}
{{^last}}
interface {{superClass.name}}Builder{{fieldToClassName}} {
{{/last}}
{{/first}}
{{#middle}}
{{#declarations}}
{{superClass.name}}{{{text}}};
{{/declarations}}
}
interface {{superClass.name}}Builder{{fieldToClassName}} {
{{/middle}}
{{#last}}
{{^first}}
{{#declarations}}
{{superClass.name}}{{{text}}};
{{/declarations}}
}
{{/first}}
interface {{superClass.name}}Builder{{fieldToClassName}} {
{{superClass.name}} build();
}
{{/last}}
{{/builderInterfaces}}
}