All files / output cl_gui_custom_container.clas.mjs

40.54% Statements 15/37
100% Branches 2/2
11.11% Functions 1/9
40.54% Lines 15/37

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 371x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x                 1x                             1x 1x 1x
const {cl_gui_container} = await import("./cl_gui_container.clas.mjs");
const {cx_root} = await import("./cx_root.clas.mjs");
// cl_gui_custom_container.clas.abap
class cl_gui_custom_container extends cl_gui_container {
  static STATIC_SUPER = cl_gui_container;
  static INTERNAL_TYPE = 'CLAS';
  static INTERNAL_NAME = 'CL_GUI_CUSTOM_CONTAINER';
  static IMPLEMENTED_INTERFACES = [];
  static ATTRIBUTES = {};
  static METHODS = {"CONSTRUCTOR": {"visibility": "U", "parameters": {"CONTAINER_NAME": {"type": () => {return new abap.types.Character();}, "is_optional": " ", "parm_kind": "I", "type_name": "CGenericType"}, "PARENT": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "CL_GUI_CONTAINER", RTTIName: "\\CLASS=CL_GUI_CONTAINER"});}, "is_optional": " ", "parm_kind": "I", "type_name": "ObjectReferenceType"}, "REPID": {"type": () => {return new abap.types.Character(40, {"qualifiedName":"sy-repid"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}, "NO_AUTODEF_PROGID_DYNNR": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}, "LIFETIME": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " ", "parm_kind": "I", "type_name": "IntegerType"}, "DYNNR": {"type": () => {return new abap.types.Character(4, {"qualifiedName":"sy-dynnr"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}}}};
  constructor() {
    const sup = super();
    this.me = new abap.types.ABAPObject();
    this.me.set(this);
    this.INTERNAL_ID = abap.internalIdCounter++;
    this.FRIENDS_ACCESS_INSTANCE = {
      "SUPER": sup.FRIENDS_ACCESS_INSTANCE,
    };
  }
  async constructor_(INPUT) {
    let container_name = INPUT?.container_name;
    let parent = new abap.types.ABAPObject({qualifiedName: "CL_GUI_CONTAINER", RTTIName: "\\CLASS=CL_GUI_CONTAINER"});
    if (INPUT && INPUT.parent) {parent.set(INPUT.parent);}
    let repid = new abap.types.Character(40, {"qualifiedName":"sy-repid"});
    if (INPUT && INPUT.repid) {repid.set(INPUT.repid);}
    let no_autodef_progid_dynnr = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
    if (INPUT && INPUT.no_autodef_progid_dynnr) {no_autodef_progid_dynnr.set(INPUT.no_autodef_progid_dynnr);}
    let lifetime = new abap.types.Integer({qualifiedName: "I"});
    if (INPUT && INPUT.lifetime) {lifetime.set(INPUT.lifetime);}
    let dynnr = new abap.types.Character(4, {"qualifiedName":"sy-dynnr"});
    if (INPUT && INPUT.dynnr) {dynnr.set(INPUT.dynnr);}
    abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.IntegerFactory.get(2)));
    return this;
  }
}
abap.Classes['CL_GUI_CUSTOM_CONTAINER'] = cl_gui_custom_container;
export {cl_gui_custom_container};