anchor.diff:      ENDIF.
   
     ENDMETHOD.                    "serialize
  -
  -  METHOD zif_abapgit_object~is_locked.
  -
  -    DATA: lv_program TYPE program.
  -
  -    lv_program = main_name( ).
  -
  -    IF is_function_group_locked( )        = abap_true
  -    OR is_any_include_locked( )           = abap_true
  -    OR is_any_function_module_locked( )   = abap_true
  -    OR is_any_dynpro_locked( lv_program ) = abap_true
  -    OR is_cua_locked( lv_program )        = abap_true
  -    OR is_text_locked( lv_program )       = abap_true.
  -
  -      rv_is_locked = abap_true.
  -
  -    ENDIF.
  -
  -  ENDMETHOD.
  -
  -
  -  METHOD is_function_group_locked.
  -
  -    DATA: lv_object TYPE eqegraarg .
  -
  -    lv_object = |FG{ ms_item-obj_name }|.
  -    OVERLAY lv_object WITH '                                          '.
  -    lv_object = lv_object && '*'.
  -
  -    rv_is_functions_group_locked = exists_a_lock_entry_for( iv_lock_object = 'EEUDB'
  -                                                            iv_argument    = lv_object ).
  -
  -  ENDMETHOD.
  -
  -
  -  METHOD is_any_include_locked.
  -
  -    DATA: lt_includes TYPE rso_t_objnm.
  -    FIELD-SYMBOLS: <lv_include> TYPE sobj_name.
  -
  -    TRY.
  -        lt_includes = includes( ).
  -      CATCH zcx_abapgit_exception.
  -        RETURN.
  -    ENDTRY.
  -
  -    LOOP AT lt_includes ASSIGNING <lv_include>.
  -
  -      IF exists_a_lock_entry_for( iv_lock_object = 'ESRDIRE'
  -                                  iv_argument    = |{ <lv_include> }| ) = abap_true.
  -        rv_is_any_include_locked = abap_true.
  -        EXIT.
  -      ENDIF.
  -
  -    ENDLOOP.
  -
  -  ENDMETHOD.
  -
  -
  -  METHOD is_any_function_module_locked.
  -
  -    DATA: lt_functions TYPE zcl_abapgit_object_fugr=>ty_rs38l_incl_tt.
  -
  -    FIELD-SYMBOLS: <ls_function> TYPE rs38l_incl.
  -
  -    TRY.
  -        lt_functions = functions( ).
  -      CATCH zcx_abapgit_exception.
  -        RETURN.
  -    ENDTRY.
  -
  -    LOOP AT lt_functions ASSIGNING <ls_function>.
  -
  -      IF exists_a_lock_entry_for( iv_lock_object = 'ESFUNCTION'
  -                                  iv_argument    = |{ <ls_function>-funcname }| ) = abap_true.
  -        rv_any_function_module_locked = abap_true.
  -        EXIT.
  -      ENDIF.
  -
  -    ENDLOOP.
  -
  -  ENDMETHOD.
  -
   ENDCLASS.
  
positive.code:     APPEND lv_program TO rt_includes.
  
    ENDMETHOD.                    "includes
  
  
    METHOD main_name.
  
negative.code:   ENDMETHOD.  "zif_abapgit_object~has_changed_since
  
  
    METHOD zif_abapgit_object~is_locked.
  
      DATA: lv_program TYPE program.
  
      lv_program = main_name( ).
  
      IF is_function_group_locked( )        = abap_true
      OR is_any_include_locked( )           = abap_true
      OR is_any_function_module_locked( )   = abap_true
      OR is_any_dynpro_locked( lv_program ) = abap_true
      OR is_cua_locked( lv_program )        = abap_true
      OR is_text_locked( lv_program )       = abap_true.
  
        rv_is_locked = abap_true.
  
      ENDIF.
  
    ENDMETHOD.
  
  
    METHOD zif_abapgit_object~jump.
  
      CALL FUNCTION 'RS_TOOL_ACCESS'
  