anchor.diff:      TRY.
           cl_enh_factory=>create_enhancement(
             EXPORTING
  -            enhname       = lv_enhname
  -            enhtype       = ''
  -            enhtooltype   = cl_enh_tool_class=>tooltype
  +            enhname     = lv_enhname
  +            enhtype     = ''
  +            enhtooltype = cl_enh_tool_class=>tooltype
             IMPORTING
  -            enhancement   = li_tool
  +            enhancement = li_tool
             CHANGING
  -            devclass      = lv_package ).
  +            devclass    = lv_package ).
           lo_enh_class ?= li_tool.
   
           lo_enh_class->if_enh_object_docu~set_shorttext( lv_shorttext ).
           lo_enh_class->set_class( lv_class ).
  -        lo_enh_class->set_owr_methods( version = 'I'
  +        lo_enh_class->set_owr_methods( version     = 'I'
                                          owr_methods = lt_owr ).
  -        lo_enh_class->set_pre_methods( version = 'I'
  +        lo_enh_class->set_pre_methods( version     = 'I'
                                          pre_methods = lt_pre ).
  -        lo_enh_class->set_post_methods( version = 'I'
  +        lo_enh_class->set_post_methods( version      = 'I'
                                           post_methods = lt_post ).
  -        lo_enh_class->set_eimp_include( version = 'I'
  +        lo_enh_class->set_eimp_include( version     = 'I'
                                           eimp_source = lt_source ).
   
           lo_enh_class->if_enh_object~save( ).
  
positive.code: 
    METHOD lif_object~exists.
  
      DATA: ls_tadir TYPE tadir.
  
  * todo, it should look up in the ENHO database tables or call some methods
  * to see if the object exists, looking in TADIR will not work
      ls_tadir = lcl_tadir=>read_single(
        iv_object   = ms_item-obj_type
        iv_obj_name = ms_item-obj_name ).
      IF ls_tadir IS NOT INITIAL.
        rv_bool = abap_true.
      ENDIF.
    ENDMETHOD.                    "lif_object~exists
  
    METHOD lif_object~serialize.
  
negative.code: 
  
      io_xml->read( EXPORTING iv_name = 'SHORTTEXT'
                    CHANGING cg_data  = lv_shorttext ).
      io_xml->read( EXPORTING iv_name = 'OWR_METHODS'
                    CHANGING cg_data  = lt_owr ).
      io_xml->read( EXPORTING iv_name = 'PRE_METHODS'
                    CHANGING cg_data  = lt_pre ).
      io_xml->read( EXPORTING iv_name = 'POST_METHODS'
                    CHANGING cg_data  = lt_post ).
      io_xml->read( EXPORTING iv_name = 'CLASS'
                    CHANGING cg_data  = lv_class ).
      lt_source = mo_files->read_abap( ).
  
      lv_enhname = ms_item-obj_name.
  