anchor.diff:          version = seoc_version_inactive
           force   = seox_true.
   
  -    CREATE OBJECT lo_source
  -      EXPORTING
  -        clskey             = ls_clskey
  -      EXCEPTIONS
  -        class_not_existing = 1
  -        OTHERS             = 2.
  -    IF sy-subrc <> 0.
  -      _raise 'error from CL_OO_SOURCE'.
  -    ENDIF.
  -
  -    lo_source->read( 'A' ).
  -    lt_source = lo_source->get_old_source( ).
  -    remove_signatures( CHANGING ct_source = lt_source ).
   * todo, text elements?
  -* todo, local classes in class
  +
  +    lt_source = serialize_abap( ls_clskey ).
  +    ls_file = abap_to_file( is_item = is_item
  +                            it_abap = lt_source ).
  +    APPEND ls_file TO rt_files.
  +
  +    lt_source = serialize_locals_def( ls_clskey ).
  +    IF NOT lt_source[] IS INITIAL.
  +      ls_file = abap_to_file( is_item  = is_item
  +                              iv_extra = 'locals_def'
  +                              it_abap  = lt_source ).       "#EC NOTEXT
  +      APPEND ls_file TO rt_files.
  +    ENDIF.
  +
  +    lt_source = serialize_locals_imp( ls_clskey ).
  +    IF NOT lt_source[] IS INITIAL.
  +      ls_file = abap_to_file( is_item  = is_item
  +                              iv_extra = 'locals_imp'
  +                              it_abap  = lt_source ).       "#EC NOTEXT
  +      APPEND ls_file TO rt_files.
  +    ENDIF.
  +
  +    lt_source = serialize_testclasses( ls_clskey ).
  +    IF NOT lt_source[] IS INITIAL.
  +      ls_file = abap_to_file( is_item  = is_item
  +                              iv_extra = 'testclasses'
  +                              it_abap  = lt_source ).       "#EC NOTEXT
  +      APPEND ls_file TO rt_files.
  +    ENDIF.
  +
  +    lt_source = serialize_macros( ls_clskey ).
  +    IF NOT lt_source[] IS INITIAL.
  +      ls_file = abap_to_file( is_item  = is_item
  +                              iv_extra = 'macros'
  +                              it_abap  = lt_source ).       "#EC NOTEXT
  +      APPEND ls_file TO rt_files.
  +    ENDIF.
  +
  +    lo_xml = serialize_xml( ls_clskey ).
  +    ls_file = xml_to_file( is_item = is_item
  +                           io_xml  = lo_xml ).
  +    APPEND ls_file TO rt_files.
  +
  +  ENDMETHOD.                    "serialize
  +
  +  METHOD serialize_xml.
  +
  +    DATA: ls_vseoclass  TYPE vseoclass.
  +
   
       CALL FUNCTION 'SEO_CLASS_GET'
         EXPORTING
  -        clskey       = ls_clskey
  +        clskey       = is_clskey
           version      = seoc_version_active
         IMPORTING
           class        = ls_vseoclass
  
positive.code: *
  *----------------------------------------------------------------------*
  CLASS lcl_serialize_common IMPLEMENTATION.
  
    METHOD activate.
  
  
negative.code:       _raise 'error from SEO_CLASS_CREATE_COMPLETE'.
      ENDIF.
  
      CALL FUNCTION 'SEO_CLASS_GENERATE_LOCALS'
        EXPORTING
          clskey                 = ls_clskey
          force                  = seox_true
          locals_def             = lt_locals_def
          locals_imp             = lt_locals_imp
          locals_mac             = lt_locals_mac
          locals_testclasses     = lt_testclasses
        EXCEPTIONS
          not_existing           = 1
          model_only             = 2
          locals_not_generated   = 3
          locals_not_initialised = 4
          OTHERS                 = 5.
      IF sy-subrc <> 0.
        _raise 'error from generate_locals'.
      ENDIF.
  
      CREATE OBJECT lo_source
        EXPORTING
  