All files / output zcl_abapgit_ui_injector.clas.mjs

57.37% Statements 35/61
66.66% Branches 4/6
20% Functions 3/15
57.37% Lines 35/61

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 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 611x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x             1x       1x     1x         1x     1x 12x 12x 12x 12x 12x 1x     1x           1x     1x 9x 9x 9x 9x 9x 1x 1x 1x
await import("./zcl_abapgit_ui_injector.clas.locals.mjs");
const {cx_root} = await import("./cx_root.clas.mjs");
// zcl_abapgit_ui_injector.clas.abap
class zcl_abapgit_ui_injector {
  static INTERNAL_TYPE = 'CLAS';
  static INTERNAL_NAME = 'ZCL_ABAPGIT_UI_INJECTOR';
  static IMPLEMENTED_INTERFACES = [];
  static ATTRIBUTES = {};
  static METHODS = {"SET_POPUPS": {"visibility": "U", "parameters": {"II_POPUPS": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_POPUPS", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_POPUPS"});}, "is_optional": " "}}},
  "SET_FRONTEND_SERVICES": {"visibility": "U", "parameters": {"II_FE_SERV": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_FRONTEND_SERVICES", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_FRONTEND_SERVICES"});}, "is_optional": " "}}},
  "SET_GUI_SERVICES": {"visibility": "U", "parameters": {"II_GUI_SERVICES": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_GUI_SERVICES", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_GUI_SERVICES"});}, "is_optional": " "}}},
  "GET_DUMMY_GUI_SERVICES": {"visibility": "U", "parameters": {"RI_GUI_SERVICES": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_GUI_SERVICES", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_GUI_SERVICES"});}, "is_optional": " "}}}};
  constructor() {
    this.me = new abap.types.ABAPObject();
    this.me.set(this);
    this.INTERNAL_ID = abap.internalIdCounter++;
    this.FRIENDS_ACCESS_INSTANCE = {
    };
  }
  async constructor_(INPUT) {
    if (super.constructor_) { await super.constructor_(INPUT); }
    return this;
  }
  async get_dummy_gui_services() {
    return zcl_abapgit_ui_injector.get_dummy_gui_services();
  }
  static async get_dummy_gui_services() {
    let ri_gui_services = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_GUI_SERVICES", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_GUI_SERVICES"});
    ri_gui_services.set((await abap.Classes['CLAS-ZCL_ABAPGIT_UI_INJECTOR-LCL_GUI_SERVICES_DUMMY'].create()));
    return ri_gui_services;
  }
  async set_frontend_services(INPUT) {
    return zcl_abapgit_ui_injector.set_frontend_services(INPUT);
  }
  static async set_frontend_services(INPUT) {
    let ii_fe_serv = INPUT?.ii_fe_serv;
    if (ii_fe_serv?.getQualifiedName === undefined || ii_fe_serv.getQualifiedName() !== "ZIF_ABAPGIT_FRONTEND_SERVICES") { ii_fe_serv = undefined; }
    if (ii_fe_serv === undefined) { ii_fe_serv = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_FRONTEND_SERVICES", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_FRONTEND_SERVICES"}).set(INPUT.ii_fe_serv); }
    abap.Classes['ZCL_ABAPGIT_UI_FACTORY'].gi_fe_services.set(ii_fe_serv);
  }
  async set_gui_services(INPUT) {
    return zcl_abapgit_ui_injector.set_gui_services(INPUT);
  }
  static async set_gui_services(INPUT) {
    let ii_gui_services = INPUT?.ii_gui_services;
    if (ii_gui_services?.getQualifiedName === undefined || ii_gui_services.getQualifiedName() !== "ZIF_ABAPGIT_GUI_SERVICES") { ii_gui_services = undefined; }
    if (ii_gui_services === undefined) { ii_gui_services = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_GUI_SERVICES", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_GUI_SERVICES"}).set(INPUT.ii_gui_services); }
    abap.Classes['ZCL_ABAPGIT_UI_FACTORY'].gi_gui_services.set(ii_gui_services);
  }
  async set_popups(INPUT) {
    return zcl_abapgit_ui_injector.set_popups(INPUT);
  }
  static async set_popups(INPUT) {
    let ii_popups = INPUT?.ii_popups;
    if (ii_popups?.getQualifiedName === undefined || ii_popups.getQualifiedName() !== "ZIF_ABAPGIT_POPUPS") { ii_popups = undefined; }
    if (ii_popups === undefined) { ii_popups = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_POPUPS", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_POPUPS"}).set(INPUT.ii_popups); }
    abap.Classes['ZCL_ABAPGIT_UI_FACTORY'].gi_popups.set(ii_popups);
  }
}
abap.Classes['ZCL_ABAPGIT_UI_INJECTOR'] = zcl_abapgit_ui_injector;
export {zcl_abapgit_ui_injector};