class UmpleToJava {
    constructor_AssociationAssignImmutableOptionalMany <<!<</*constructor_AssociationAssignImmutableOptionalMany*/>>
    <<=gen.translate("associationMany",av)>> = new ArrayList<<<=gen.translate("type",av)>>>();
    boolean <<=gen.translate("didAddMany",av)>> = <<=gen.translate("setManyMethod",av)>>(<<=gen.translate("parameterAll",av)>>);
    if (!<<=gen.translate("didAddMany",av)>>)
    {
      throw new RuntimeException("Unable to create <<=gen.relatedTranslate("type",av)>>, must not have duplicate <<=gen.translate("associationMany",av)>>. See http://manual.umple.org?RE001ViolationofImmutability.html");
    }!>>
}
