SAP ABAP Class CL_RFAC_REPLACER (Refactoring: Source Management)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-AIE-REF (Application Component) Tools for Refactoring ABAP Artifacts
     SRFAC_IMPL (Package) Implementation of new refactoring
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_RFAC_REPLACER Refactoring Replacer 20120412
Properties
Class CL_RFAC_REPLACER  
Short Description Refactoring: Source Management    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SRFAC_IMPL   Implementation of new refactoring 
Created 20110203   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 IF_RIS_INCLUDE Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
3 IF_RIS_OCCURRENCE_FINDER Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
4 T Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_RFAC_REPLACER Refactoring Replacer 20120412
Friends
Class CL_RFAC_REPLACER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CO_COMPARISON_CASE_INSENSITIVE Instance attribute Public Attribute reference (LIKE) 20110701
2 CO_COMPARISON_CASE_SENSITIVE Instance attribute Public Attribute reference (LIKE) 20120412
3 CO_COMPARISON_OFF Instance attribute Public Attribute reference (LIKE) 20110701
4 CO_MAX_LINE_LENGTH Constant Public Type reference (TYPE) I 255 20110404
5 CO_NEWLINE Constant Public Type reference (TYPE) C CL_ABAP_CHAR_UTILITIES=>NEWLINE 20110404
6 INCLUDES Instance attribute Public Type reference (TYPE) IF_RIS_INCLUDE=>TAB 20110404
7 MAIN_PROGRAM Instance attribute Public Type reference (TYPE) SYREPID ABAP Program: Current Main Program 20110404
Methods
# Method Level Visibility Method type Description Created on
1 ADD_INCLUDE Instance method Public Method 20110404
2 APPLY Instance method Public Method 20110404
3 CHECK_RANGES Static method Private Method 20110701
4 CREATE Static method Public Method 20110404
5 CREATE_OPTIMIZED_RANGES Static method Private Method 20110701
6 CREATE_RANGE Static method Public Method 20110701
7 DISTRIBUTE_CONTENT_TO_RANGES Static method Public Method 20110701
8 REPLACE Static method Public Method 20110404
9 SET_INCLUDES Instance method Public Method 20110404
10 SYNTAX_CHECK Instance method Public Method 20110404
Events
Class CL_RFAC_REPLACER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TS_RANGE Public Type reference (TYPE) IF_RIS_INCLUDE=>TS_RANGE 20110701
2 TT_RANGES Public See coding 20110701 tt_ranges TYPE SORTED TABLE OF ts_range WITH UNIQUE KEY start_row start_col
Method Signatures

Method ADD_INCLUDE Signature

Method ADD_INCLUDE on class CL_RFAC_REPLACER has no parameter.
Method ADD_INCLUDE on class CL_RFAC_REPLACER has no exception.

Method APPLY Signature

Method APPLY on class CL_RFAC_REPLACER has no parameter.
Method APPLY on class CL_RFAC_REPLACER has no exception.

Method CHECK_RANGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_RANGES Call by reference Type reference (TYPE) TT_RANGES 20110701
2 Importing I_SOURCE Call by reference Type reference (TYPE) RSWSOURCET 20110701
# Exception Resumable Description Created on
1 CX_RFAC_ERROR 20110701

Method CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_MAIN_PROGRAM Call by reference Type reference (TYPE) SYREPID ABAP-Programm, aktuelles Rahmenprogramm 20110404
2 Returning R_REPLACER Value transfer Object reference (TYPE REF TO) CL_RFAC_REPLACER Refacoring: Source management 20110404

Method CREATE on class CL_RFAC_REPLACER has no exception.

Method CREATE_OPTIMIZED_RANGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_RANGES Call by reference Type reference (TYPE) TT_RANGES 20110701
2 Importing I_RANGES Call by reference Type reference (TYPE) TT_RANGES 20110701

Method CREATE_OPTIMIZED_RANGES on class CL_RFAC_REPLACER has no exception.

Method CREATE_RANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_END_COL Call by reference Type reference (TYPE) I 20110701
2 Importing I_END_ROW Call by reference Type reference (TYPE) I 20110701
3 Importing I_SOURCE Call by reference Type reference (TYPE) RSWSOURCET 20110701
4 Importing I_START_COL Call by reference Type reference (TYPE) I 20110701
5 Importing I_START_ROW Call by reference Type reference (TYPE) I 20110701
6 Returning R_RANGE Value transfer Type reference (TYPE) TS_RANGE 20110701
# Exception Resumable Description Created on
1 CX_RFAC_ERROR 20110701

Method DISTRIBUTE_CONTENT_TO_RANGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_INCLUDE Call by reference Object reference (TYPE REF TO) IF_RIS_INCLUDE 20110701
2 Importing I_NEW_CONTENT Call by reference Type reference (TYPE) CSEQUENCE 20110701
3 Importing I_OLD_CONTENT Call by reference Type reference (TYPE) CSEQUENCE 20110701

Method DISTRIBUTE_CONTENT_TO_RANGES on class CL_RFAC_REPLACER has no exception.

Method REPLACE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_RANGES Call by reference Type reference (TYPE) TT_RANGES 20110701
2 Exporting E_SOURCE Call by reference Type reference (TYPE) RSWSOURCET 20110701
3 Importing I_OLD_CONTENT_COMPARISON Call by reference Type reference (TYPE) I IF_RFAC_REPLACER=>CO_COMPARISON_CASE_SENSITIVE 20110701
4 Importing I_RANGES Call by reference Type reference (TYPE) TT_RANGES 20110701
5 Importing I_SOURCE Call by reference Type reference (TYPE) RSWSOURCET 20110404
# Exception Resumable Description Created on
1 CX_RFAC_ERROR 20110404

Method SET_INCLUDES Signature

Method SET_INCLUDES on class CL_RFAC_REPLACER has no parameter.
Method SET_INCLUDES on class CL_RFAC_REPLACER has no exception.

Method SYNTAX_CHECK Signature

Method SYNTAX_CHECK on class CL_RFAC_REPLACER has no parameter.
Method SYNTAX_CHECK on class CL_RFAC_REPLACER has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in