/** Initialize the Ecore element. * @param container the container of the SarlEnumLiteral. * @param name the name of the SarlEnumLiteral. */ public void eInit(XtendTypeDeclaration container, String name, IJvmTypeProvider context) { setTypeResolutionContext(context); if (this.sarlEnumLiteral == null) { this.container = container; this.sarlEnumLiteral = SarlFactory.eINSTANCE.createSarlEnumLiteral(); this.sarlEnumLiteral.setName(name); container.getMembers().add(this.sarlEnumLiteral); } }