@Override protected String renderConstructors(Generator gen, Enum model) { requireNonNulls(gen, model); return gen.onEach(model.getConstructors()) .collect(joining(dnl())); } }
/** * Copy constructor. * * @param prototype the prototype */ protected EnumImpl(Enum prototype) { super (prototype); constants = Copier.copy(prototype.getConstants()); constructors = Copier.copy(prototype.getConstructors()); }
@Override protected String renderConstructors(Generator gen, Enum model) { requireNonNulls(gen, model); return gen.onEach(model.getConstructors()) .collect(joining(dnl())); } }
@Override protected String renderConstructors(Generator gen, Enum model) { requireNonNulls(gen, model); return gen.onEach(model.getConstructors()) .collect(joining(dnl())); } }
/** * Copy constructor. * * @param prototype the prototype */ protected EnumImpl(Enum prototype) { super (prototype); constants = Copier.copy(prototype.getConstants()); constructors = Copier.copy(prototype.getConstructors()); }
/** * Copy constructor. * * @param prototype the prototype */ protected EnumImpl(Enum prototype) { super (prototype); constants = Copier.copy(prototype.getConstants()); constructors = Copier.copy(prototype.getConstructors()); }