SAP ABAP Class CL_RFAC_METHOD_INSERTER (Inserts method parts into includes)
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
Properties
Class CL_RFAC_METHOD_INSERTER  
Short Description Inserts method parts into includes    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SRFAC_IMPL   Implementation of new refactoring 
Created 20110715   SAP 
Last change 20140121   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_RFAC_METHOD_INSERTER has no forward declaration.
Interfaces
Class CL_RFAC_METHOD_INSERTER has no interface implemented.
Friends
Class CL_RFAC_METHOD_INSERTER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 BLACKBOARD Instance attribute Private Object reference (TYPE REF TO) CL_ART_BLACKBOARD 20120807
2 CHAINED_STATEMENTS_ALLOWED Instance attribute Private Type reference (TYPE) ABAP_BOOL ABAP_UNDEFINED 20120823
3 CLASSNAME Instance attribute Private Type reference (TYPE) STRING 20110928
4 DEFINITION_IS_ADDED_TO_CHAIN Instance attribute Private Type reference (TYPE) ABAP_BOOL 20120814
5 PST_ROOT Instance attribute Private Object reference (TYPE REF TO) CL_PST_NODE 20120822
6 SELECTION Instance attribute Private Type reference (TYPE) IF_RIS_SOURCE_POSITION=>TY_SELECTION 20110928
Methods
# Method Level Visibility Method type Description Created on
1 CONVERT_SOURCE_TABLE_TO_STRING Instance method Private Method 20110928
2 CREATE Static method Public Method 20110928
3 DERIVE_IMPLEMENTATION_CODE Instance method Private Method 20120822
4 DERIVE_KIND_FROM_METHOD_DESCR Instance method Private Method 20120808
5 DERIVE_RANGE4METHOD_CALL Instance method Public Method 20120827
6 DERIVE_RANGE4METHOD_DEFINITION Instance method Public Method 20120810
7 DERIVE_RANGE4METHOD_DEF_MULTI Instance method Public Method 20120822
8 DERIVE_RANGE4METHOD_IMP Instance method Public Method 20120822
9 DERIVE_RANGE4METHOD_IMP_MULTI Instance method Public Method 20120822
10 DERIVE_RANGE_FROM_PREV_NODE Instance method Private Method 20120808
11 DETERMINE_RANGE_OF_METHOD_CALL Instance method Private Method 20130711
12 FIND_PREDECESSOR4INSERT_CLASS Instance method Private Method 20120809
13 FIND_PREDECESSOR4INSERT_INTF Instance method Private Method 20120809
14 GET_CLASSNAME_FOR_SELECTION Instance method Public Method 20110928
15 INIT Instance method Private Method 20120822
16 INSERT_METHOD_CALL Instance method Public Method 20110928
17 IS_METHOD_WITH_CLOSING_BRACKET Instance method Private Method 20130711
18 IS_METHOD_WITH_OPENING_BRACKET Instance method Private Method 20130711
19 IS_SINGLE_CLOSING_BRACKET Instance method Private Method 20130711
20 RANGE_POSITIONING_IS_EQUAL Instance method Private Method 20120822
Events
Class CL_RFAC_METHOD_INSERTER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_TOKENS Private See coding 20130711 ty_tokens type table of stokesx
Method Signatures

Method CONVERT_SOURCE_TABLE_TO_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SOURCE_TABLE Call by reference Type reference (TYPE) RSWSOURCET 20110928
2 Returning R_RESULT Value transfer Type reference (TYPE) STRING 20120809

Method CONVERT_SOURCE_TABLE_TO_STRING on class CL_RFAC_METHOD_INSERTER has no exception.

Method CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_BLACKBOARD Call by reference Object reference (TYPE REF TO) CL_ART_BLACKBOARD 20120807
2 Returning R_RESULT Value transfer Object reference (TYPE REF TO) CL_RFAC_METHOD_INSERTER 20110928

Method CREATE on class CL_RFAC_METHOD_INSERTER has no exception.

Method DERIVE_IMPLEMENTATION_CODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_METHOD_DESCRIPTION Call by reference Object reference (TYPE REF TO) CL_RFAC_METHOD_DESCRIPTION 20120822
2 Returning R_RESULT Value transfer Type reference (TYPE) STRING 20120822

Method DERIVE_IMPLEMENTATION_CODE on class CL_RFAC_METHOD_INSERTER has no exception.

Method DERIVE_KIND_FROM_METHOD_DESCR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_METHOD_DESCRIPTION Call by reference Object reference (TYPE REF TO) CL_RFAC_METHOD_DESCRIPTION 20120808
2 Returning R_KIND Value transfer Object reference (TYPE REF TO) CE_PST_KIND 20120808

Method DERIVE_KIND_FROM_METHOD_DESCR on class CL_RFAC_METHOD_INSERTER has no exception.

Method DERIVE_RANGE4METHOD_CALL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_METHOD_DESCRIPTION Call by reference Object reference (TYPE REF TO) CL_RFAC_METHOD_DESCRIPTION 20120827
2 Returning R_RANGE Value transfer Type reference (TYPE) IF_RIS_INCLUDE=>TS_RANGE 20120827
# Exception Resumable Description Created on
1 CX_RFAC_ERROR 20120827

Method DERIVE_RANGE4METHOD_DEFINITION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_METHOD_DESCRIPTION Call by reference Object reference (TYPE REF TO) CL_RFAC_METHOD_DESCRIPTION 20120810
2 Returning R_RANGE Value transfer Type reference (TYPE) IF_RIS_INCLUDE=>TS_RANGE 20120810
# Exception Resumable Description Created on
1 CX_RFAC_ERROR 20120810

Method DERIVE_RANGE4METHOD_DEF_MULTI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_METHOD_DESCRIPTIONS Call by reference Type reference (TYPE) IF_RFAC_IMPL_TYPES=>TT_METHOD_DESCRIPTIONS 20120822
2 Returning R_RESULT Value transfer Type reference (TYPE) IF_RIS_INCLUDE=>TT_RANGES 20120822
# Exception Resumable Description Created on
1 CX_RFAC_ERROR 20120822

Method DERIVE_RANGE4METHOD_IMP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_METHOD_DESCRIPTION Call by reference Object reference (TYPE REF TO) CL_RFAC_METHOD_DESCRIPTION 20120822
2 Returning R_RANGE Value transfer Type reference (TYPE) IF_RIS_INCLUDE=>TS_RANGE 20120822
# Exception Resumable Description Created on
1 CX_RFAC_ERROR 20120822

Method DERIVE_RANGE4METHOD_IMP_MULTI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_METHOD_DESCRIPTIONS Call by reference Type reference (TYPE) IF_RFAC_IMPL_TYPES=>TT_METHOD_DESCRIPTIONS 20120822
2 Returning R_RESULT Value transfer Type reference (TYPE) IF_RIS_INCLUDE=>TS_RANGE 20120822
# Exception Resumable Description Created on
1 CX_RFAC_ERROR 20120822

Method DERIVE_RANGE_FROM_PREV_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DESIRED_KIND Call by reference Object reference (TYPE REF TO) CE_PST_KIND 20120814
2 Importing I_PREVIOUS_NODE Call by reference Object reference (TYPE REF TO) CL_PST_NODE 20120808
3 Returning R_RESULT Value transfer Type reference (TYPE) IF_RIS_INCLUDE=>TS_RANGE 20120808

Method DERIVE_RANGE_FROM_PREV_NODE on class CL_RFAC_METHOD_INSERTER has no exception.

Method DETERMINE_RANGE_OF_METHOD_CALL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_METHOD_CALL_CONTENT Call by reference Type reference (TYPE) STRING 20130711
2 Exporting E_METHOD_CALL_RANGE Value transfer Type reference (TYPE) IF_RIS_INCLUDE=>TS_RANGE 20130711
3 Importing I_TOKENS Call by reference Type reference (TYPE) TY_TOKENS 20130711
4 Importing I_TOKEN_INDEX_IN_STATEMENT Call by reference Type reference (TYPE) I 20130711

Method DETERMINE_RANGE_OF_METHOD_CALL on class CL_RFAC_METHOD_INSERTER has no exception.

Method FIND_PREDECESSOR4INSERT_CLASS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_METHOD_DESCRIPTION Call by reference Object reference (TYPE REF TO) CL_RFAC_METHOD_DESCRIPTION 20120809
2 Importing I_PST_CLASS_DEF Call by reference Object reference (TYPE REF TO) CL_PST_CLASS 20120907
3 Returning R_RESULT Value transfer Object reference (TYPE REF TO) CL_PST_NODE 20120809
# Exception Resumable Description Created on
1 CX_RFAC_ERROR 20120907

Method FIND_PREDECESSOR4INSERT_INTF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_METHOD_DESCRIPTION Call by reference Object reference (TYPE REF TO) CL_RFAC_METHOD_DESCRIPTION 20120809
2 Importing I_PST_INTERFACE Call by reference Object reference (TYPE REF TO) CL_PST_NODE 20120809
3 Returning R_RESULT Value transfer Object reference (TYPE REF TO) CL_PST_NODE 20120809

Method FIND_PREDECESSOR4INSERT_INTF on class CL_RFAC_METHOD_INSERTER has no exception.

Method GET_CLASSNAME_FOR_SELECTION 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 20110928
2 Importing I_SELECTION Call by reference Type reference (TYPE) IF_RIS_SOURCE_POSITION=>TY_SELECTION 20110928
3 Returning R_CLASSNAME Value transfer Type reference (TYPE) STRING 20110928

Method GET_CLASSNAME_FOR_SELECTION on class CL_RFAC_METHOD_INSERTER has no exception.

Method INIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_BLACKBOARD Call by reference Object reference (TYPE REF TO) CL_ART_BLACKBOARD 20120822

Method INIT on class CL_RFAC_METHOD_INSERTER has no exception.

Method INSERT_METHOD_CALL 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 20110928
2 Importing I_SELECTION Call by reference Type reference (TYPE) IF_RIS_SOURCE_POSITION=>TY_SELECTION 20110928
3 Importing I_SOURCE Call by reference Type reference (TYPE) RSWSOURCET 20110928
# Exception Resumable Description Created on
1 CX_RFAC_ERROR 20110928

Method IS_METHOD_WITH_CLOSING_BRACKET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TOKEN Call by reference Type reference (TYPE) STOKESX 20130711
2 Returning R_RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20130711

Method IS_METHOD_WITH_CLOSING_BRACKET on class CL_RFAC_METHOD_INSERTER has no exception.

Method IS_METHOD_WITH_OPENING_BRACKET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TOKEN Call by reference Type reference (TYPE) STOKESX 20130711
2 Returning R_RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20130711

Method IS_METHOD_WITH_OPENING_BRACKET on class CL_RFAC_METHOD_INSERTER has no exception.

Method IS_SINGLE_CLOSING_BRACKET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TOKEN Call by reference Type reference (TYPE) STOKESX 20130711
2 Returning R_RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20130711

Method IS_SINGLE_CLOSING_BRACKET on class CL_RFAC_METHOD_INSERTER has no exception.

Method RANGE_POSITIONING_IS_EQUAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_RANGE_1 Call by reference Type reference (TYPE) IF_RIS_INCLUDE=>TS_RANGE 20120822
2 Importing I_RANGE_2 Call by reference Type reference (TYPE) IF_RIS_INCLUDE=>TS_RANGE 20120822
3 Returning R_RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20120822

Method RANGE_POSITIONING_IS_EQUAL on class CL_RFAC_METHOD_INSERTER has no exception.
History
Last changed by/on SAP  20140121 
SAP Release Created in 740