SAP ABAP Class CL_ART_APPLY_4_EXTRACT_METHOD (Refactoring extract method)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-AIE-REF (Application Component) Tools for Refactoring ABAP Artifacts
     SRFAC_BLACKBOARD (Package) Refactoring Blackboard
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_QFIX_QUICKFIX Interface to provide a refactoring quickfix 20130820
Properties
Class CL_ART_APPLY_4_EXTRACT_METHOD  
Short Description Refactoring extract method    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SRFAC_BLACKBOARD   Refactoring Blackboard 
Created 20130806   SAP 
Last change 20141121    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_ART_APPLY_4_EXTRACT_METHOD has no forward declaration.
Interfaces
# Interface Abstract Final Description Created on
1 IF_QFIX_QUICKFIX Interface to provide a refactoring quickfix 20130820
Friends
Class CL_ART_APPLY_4_EXTRACT_METHOD 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 20130820
2 DELTAS Instance attribute Private Type reference (TYPE) IF_ART_SOURCE_DELTA=>TAB 20130913
3 NEWLINE Constant Private Attribute reference (LIKE) CL_ABAP_CHAR_UTILITIES=>NEWLINE CL_ABAP_CHAR_UTILITIES=>NEWLINE 20130820
4 QFIX_RESULT Instance attribute Private Object reference (TYPE REF TO) IF_QUICKFIX_RESULT 20130820
Methods
# Method Level Visibility Method type Description Created on
1 ADD_DELTA Instance method Private Method 20130913
2 ADD_EDIT_POSITIONS Instance method Private Method 20130820
3 ADD_EDIT_POSITIONS_FROM_DELTAS Instance method Private Method 20130913
4 ADD_METHOD_CALL Instance method Private Method 20130820
5 ADD_METHOD_DEFINITION Instance method Private Method 20130820
6 ADD_METHOD_IMPLEMENTATION Instance method Private Method 20130820
7 CREATE Static method Public Method 20130820
8 CREATE_EDIT_RANGE Instance method Private Method 20130820
9 DETERMINE_USED_VARIABLES Instance method Private Method 20130913
10 GET_EXPRESSION_INFO Instance method Private Method 20131029
11 IS_HELPER_TYPE_NEEDED Instance method Private Method 20131015
Events
Class CL_ART_APPLY_4_EXTRACT_METHOD has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_EXPRESSION_INFO Private See coding 20130820 BEGIN OF ty_expression_info, expression TYPE string, expression_type TYPE REF TO cl_pst_node, match_whole_statement TYPE abap_bool, extracted_method_name TYPE string, is_logical_expression TYPE abap_bool, END OF ty_expression_info
2 TY_METHOD_PARAMETER Private See coding 20130820 BEGIN OF ty_method_parameter, name TYPE string, type TYPE string, type_type TYPE string, END OF ty_method_parameter
3 TY_METHOD_PARAMETER_TAB Private See coding 20130820 ty_method_parameter_tab TYPE STANDARD TABLE OF ty_method_parameter WITH DEFAULT KEY
Method Signatures

Method ADD_DELTA Signature

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

Method ADD_DELTA on class CL_ART_APPLY_4_EXTRACT_METHOD has no exception.

Method ADD_EDIT_POSITIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_INDEX_FOR_WHERE_USED Call by reference Type reference (TYPE) I 20130913
2 Importing I_RANGES Call by reference Type reference (TYPE) IF_RIS_INCLUDE=>TT_RANGES 20130820

Method ADD_EDIT_POSITIONS on class CL_ART_APPLY_4_EXTRACT_METHOD has no exception.

Method ADD_EDIT_POSITIONS_FROM_DELTAS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_INDEX_FOR_WHERE_USED Call by reference Type reference (TYPE) I 20130913

Method ADD_EDIT_POSITIONS_FROM_DELTAS on class CL_ART_APPLY_4_EXTRACT_METHOD has no exception.

Method ADD_METHOD_CALL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_EXPRESSION_INFO Call by reference Type reference (TYPE) TY_EXPRESSION_INFO 20130820
2 Importing I_PARAMETER_NAMES Call by reference Type reference (TYPE) STRING_TABLE 20130913
3 Importing I_SOURCE_POSITION Call by reference Object reference (TYPE REF TO) CL_PST_SOURCE_POSITION 20130820
4 Importing I_USED_VARIABLES Call by reference Type reference (TYPE) CL_PST_VARIABLE=>TAB 20130913

Method ADD_METHOD_CALL on class CL_ART_APPLY_4_EXTRACT_METHOD has no exception.

Method ADD_METHOD_DEFINITION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_EXPRESSION_INFO Call by reference Type reference (TYPE) TY_EXPRESSION_INFO 20130820
2 Importing I_POSITION_CONSTRAINT_BEFORE Call by reference Object reference (TYPE REF TO) CL_PST_SOURCE_POSITION 20130820
3 Importing I_USED_VARIABLES Call by reference Type reference (TYPE) CL_PST_VARIABLE=>TAB 20130913
# Exception Resumable Description Created on
1 CX_QUICKFIX_ERROR 20130820

Method ADD_METHOD_IMPLEMENTATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_EXPRESSION_INFO Call by reference Type reference (TYPE) TY_EXPRESSION_INFO 20130820

Method ADD_METHOD_IMPLEMENTATION on class CL_ART_APPLY_4_EXTRACT_METHOD 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 20130820
2 Returning R_INSTANCE Value transfer Object reference (TYPE REF TO) CL_ART_APPLY_4_EXTRACT_METHOD 20130820

Method CREATE on class CL_ART_APPLY_4_EXTRACT_METHOD has no exception.

Method CREATE_EDIT_RANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_NEW_CONTENT Call by reference Type reference (TYPE) STRING 20130820
2 Importing I_SOURCE_POSITION Call by reference Object reference (TYPE REF TO) CL_PST_SOURCE_POSITION 20130820
3 Returning R_RESULT Value transfer Type reference (TYPE) IF_RIS_INCLUDE=>TS_RANGE 20130820

Method CREATE_EDIT_RANGE on class CL_ART_APPLY_4_EXTRACT_METHOD has no exception.

Method DETERMINE_USED_VARIABLES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PST_STATEMENT Call by reference Object reference (TYPE REF TO) CL_PST_STATEMENT 20130913
2 Importing I_SOURCE_POSITION Call by reference Object reference (TYPE REF TO) CL_PST_SOURCE_POSITION 20130913
3 Importing I_SURROUNDING_METHOD Call by reference Object reference (TYPE REF TO) CL_PST_METHOD_IMPLEMENTATION 20130913
4 Returning R_VARIABLES Value transfer Type reference (TYPE) CL_PST_VARIABLE=>TAB 20130913

Method DETERMINE_USED_VARIABLES on class CL_ART_APPLY_4_EXTRACT_METHOD has no exception.

Method GET_EXPRESSION_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Type reference (TYPE) CL_ART_APPLY_4_EXTRACT_METHOD=>TY_EXPRESSION_INFO 20131029

Method GET_EXPRESSION_INFO on class CL_ART_APPLY_4_EXTRACT_METHOD has no exception.

Method IS_HELPER_TYPE_NEEDED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TYPE Call by reference Object reference (TYPE REF TO) CL_PST_NODE 20131015
2 Returning R_RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20131015

Method IS_HELPER_TYPE_NEEDED on class CL_ART_APPLY_4_EXTRACT_METHOD has no exception.
History
Last changed by/on SAP  20141121 
SAP Release Created in 740