SAP ABAP Class CL_RFAC_SELECTION_ANALYZER (Refactoring: Information about a Selection)
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_SELECTION_ANALYZER Refactoring: Selection Analyzer 20110701
Properties
Class CL_RFAC_SELECTION_ANALYZER  
Short Description Refactoring: Information about a Selection    
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 20110517   SAP 
Last change 20140121   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_RFAC_SELECTION_ANALYZER has no forward declaration.
Interfaces
# Interface Abstract Final Description Created on
1 IF_RFAC_SELECTION_ANALYZER Refactoring: Selection Analyzer 20110701
Friends
Class CL_RFAC_SELECTION_ANALYZER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 ABAP_COMPILER Instance attribute Private Object reference (TYPE REF TO) CL_ABAP_COMPILER 20110701
2 BLACKBOARD Instance attribute Private Object reference (TYPE REF TO) CL_ART_BLACKBOARD 20130711
3 REFERENCES_IN_SELECTION Instance attribute Private Type reference (TYPE) TY_T_COMPILER_REFERENCES 20110701
4 SCAN_RESULT Instance attribute Private Object reference (TYPE REF TO) CL_RFAC_SCAN_RESULT 20130711
5 SOURCE_HANDLER Instance attribute Private Object reference (TYPE REF TO) IF_RIS_ADT_SOURCE_HANDLER 20110701
6 SOURCE_METHOD_CONTENT Instance attribute Private Type reference (TYPE) TY_S_SOURCE_METHOD_CONTENT 20110701
7 SOURCE_METHOD_INFO Instance attribute Private Type reference (TYPE) TY_S_SOURCE_METHOD_INFORMATION 20110701
8 SOURCE_SELECTION Instance attribute Private Type reference (TYPE) IF_RIS_SOURCE_POSITION=>TY_SELECTION 20110701
9 SYNTAX_CHECK_INCLUDES Instance attribute Private Type reference (TYPE) SREPTAB 20110701
Methods
# Method Level Visibility Method type Description Created on
1 ADD_SOURCE_BODY Instance method Private Method 20110701
2 ADJUST_TYPES_ON_NAME_CONFLICTS Instance method Private Method 20130711
3 ANALYZE_DATA_DECLARATION Instance method Private Method 20110701
4 ANALYZE_PARAMETER_REFERENCES Instance method Private Method 20110701
5 ANALYZE_REDEFINITION_SOURCE Instance method Private Method 20110704
6 CHECK_AND_ANALYZE_REDEFINITION Instance method Private Method 20110704
7 CHECK_EXTRACT_METHOD_SUPPORTED Instance method Private Method 20110701
8 CHECK_PRECONDITIONS Instance method Private Method 20110701
9 CHECK_SELECTION_CONSISTENCY Instance method Private Method 20110701
10 DETERMINE_INTF_DATA_FULLNAME Instance method Private Method 20120320
11 DETERMINE_VISIBILITY_AND_KIND Instance method Private Method 20110701
12 FIND_TOKEN_FOR_ANALYSIS Instance method Private Method 20110701
13 GET_COMPILER_REFS_FOR_METHOD Instance method Private Method 20110701
14 GET_EXCEPTION_INFORMATION Instance method Private Method 20110701
15 GET_INCLUDE_SOURCE Instance method Private Method 20110704
16 GET_INFO_FOR_EXTRACT_METHOD Instance method Private Method 20110701
17 GET_INSTANCE Static method Public Method 20110701
18 GET_SOURCE_METHOD_INFORMATION Instance method Private Method 20110701
19 INITIALIZE_ABAP_COMPILER Instance method Private Method 20110701
20 INIT_SCAN_RESULT_AND_PST Instance method Private Method 20130711
21 IS_EXCEPTION_CATCHED Instance method Private Method 20110701
22 IS_WRITE_ACCESS Instance method Private Method 20110701
23 QUALIFY_REFS_IN_SELECTION Instance method Private Method 20120320
24 READ_EXTERNAL_SOURCE Instance method Private Method 20110704
25 RESOLVE_LIKE_DEFINITION Instance method Private Method 20110701
26 SCAN_AND_QUALIFY_SOURCE_METHOD Instance method Private Method 20110701
Events
Class CL_RFAC_SELECTION_ANALYZER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_KEYWORD Private See coding 20110701 ty_keyword type c length 30
2 TY_S_CANDIDATE_PARAMETER Private See coding 20110701 begin of ty_s_candidate_parameter, declaration_reference type scr_ref, occurrence_references type ty_t_compiler_references, no_additional_element type abap_bool, is_local type abap_bool, is_source_local type abap_bool, contains_write_access type abap_bool, contains_read_access type abap_bool, parameter_direction type if_rfac_impl_types=>ty_param_transfer_direction, end of ty_s_candidate_parameter
3 TY_S_DATA_DECLARATION_INFO Private See coding 20110701 begin of ty_s_data_declaration_info, value type string, is_initial type abap_bool, is_constant type abap_bool, is_generic type abap_bool, original_type type if_rfac_impl_types=>ts_type, end of ty_s_data_declaration_info
4 TY_S_DECLARATION Private See coding 20110701 begin of ty_s_declaration, full_name type string, reference type scr_ref, is_in_selection type abap_bool, is_in_method type abap_bool, is_in_signature type abap_bool, is_somewhere_else type abap_bool, is_type_definition type abap_bool, predefined_direction type if_rfac_impl_types=>ty_param_transfer_direction, end of ty_s_declaration
5 TY_S_PARAMETER_DEFINITION Private See coding 20110701 begin of ty_s_parameter_definition, full_name type string, compiler_reference type scr_ref, transfer_direction type if_rfac_impl_types=>ty_param_transfer_direction, end of ty_s_parameter_definition
6 TY_S_SOURCE_METHOD_CONTENT Private See coding 20110701 begin of ty_s_source_method_content, tokens type ty_t_stokesx, statements type ty_t_sstmnt, structures type ty_t_sstruc, statements_in_selection type ty_t_statement_in_selection, tokens_for_analysis type ty_t_token_for_analysis, compiler_references type ty_t_compiler_references, end of ty_s_source_method_content
7 TY_S_SOURCE_METHOD_INFORMATION Private See coding 20110701 begin of ty_s_source_method_information, method_token type stokesx, method_name_token type stokesx, endmethod_token type stokesx, full_name type ref to cl_ris_abap_fullname, compiler_reference type scr_ref, parameter_definitions type ty_t_parameter_definitions, is_in_local_interface type abap_bool, redefinition_helper type ref to if_rfac_redefinition_helper, end of ty_s_source_method_information
8 TY_S_STATEMENT_IN_SELECTION Private See coding 20110701 begin of ty_s_statement_in_selection, statement_index type i, in_selection type abap_bool, statement type sstmnt, end of ty_s_statement_in_selection
9 TY_S_TOKEN_FOR_ANALYSIS Private See coding 20110701 begin of ty_s_token_for_analysis, token_index type i, token type stokesx, end of ty_s_token_for_analysis
10 TY_T_CANDIDATE_PARAMETERS Private See coding 20110701 ty_t_candidate_parameters type sorted table of ty_s_candidate_parameter with unique key declaration_reference
11 TY_T_COMPILER_REFERENCES Private See coding 20110701 ty_t_compiler_references type sorted table of scr_ref with non-unique key primary_key components line column grade with non-unique sorted key fullname_key components full_name grade with non-unique sorted key tag_key components tag with non-unique sorted key symbol_key components symbol
12 TY_T_DECLARATIONS Private See coding 20110701 ty_t_declarations type sorted table of ty_s_declaration with unique key full_name
13 TY_T_KEYWORD Private See coding 20110701 ty_t_keyword type standard table of ty_keyword with non-unique default key
14 TY_T_PARAMETER_DEFINITIONS Private See coding 20110701 ty_t_parameter_definitions type sorted table of ty_s_parameter_definition with unique key full_name
15 TY_T_SSTMNT Public See coding 20120102 ty_t_sstmnt type standard table of sstmnt with non-unique default key
16 TY_T_SSTRUC Public See coding 20110701 ty_t_sstruc type standard table of sstruc with non-unique default key
17 TY_T_STATEMENT_IN_SELECTION Private See coding 20110701 ty_t_statement_in_selection type sorted table of ty_s_statement_in_selection with unique key statement_index
18 TY_T_STOKESX Public See coding 20120102 ty_t_stokesx type standard table of stokesx with non-unique default key
19 TY_T_TOKEN_FOR_ANALYSIS Private See coding 20110701 ty_t_token_for_analysis type sorted table of ty_s_token_for_analysis with unique key token_index
Method Signatures

Method ADD_SOURCE_BODY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_METHOD Call by reference Type reference (TYPE) IF_RFAC_IMPL_TYPES=>TS_METHOD 20110701

Method ADD_SOURCE_BODY on class CL_RFAC_SELECTION_ANALYZER has no exception.

Method ADJUST_TYPES_ON_NAME_CONFLICTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_METHOD Call by reference Type reference (TYPE) IF_RFAC_IMPL_TYPES=>TS_METHOD 20130711

Method ADJUST_TYPES_ON_NAME_CONFLICTS on class CL_RFAC_SELECTION_ANALYZER has no exception.

Method ANALYZE_DATA_DECLARATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CURRENT_TYPES Call by reference Type reference (TYPE) IF_RFAC_IMPL_TYPES=>TT_TYPES 20110701
2 Importing I_DECLARATION_REFERENCE Call by reference Type reference (TYPE) SCR_REF 20110704
3 Returning R_DATA_DECLARATION_INFO Value transfer Type reference (TYPE) TY_S_DATA_DECLARATION_INFO 20110701

Method ANALYZE_DATA_DECLARATION on class CL_RFAC_SELECTION_ANALYZER has no exception.

Method ANALYZE_PARAMETER_REFERENCES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_METHOD_NAME Call by reference Type reference (TYPE) SEOMTDNAME 20110701
2 Importing I_PARAMETER_REFERENCES Call by reference Type reference (TYPE) TY_T_COMPILER_REFERENCES 20110701
# Exception Resumable Description Created on
1 CX_RFAC_ERROR 20110704

Method ANALYZE_REDEFINITION_SOURCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_REDEFINITION_FOUND Call by reference Type reference (TYPE) ABAP_BOOL 20110704
2 Importing I_COMPILER_REFERENCE Call by reference Type reference (TYPE) SCR_REF 20110704
3 Importing I_SOURCE Call by reference Type reference (TYPE) STRING_TABLE 20110704

Method ANALYZE_REDEFINITION_SOURCE on class CL_RFAC_SELECTION_ANALYZER has no exception.

Method CHECK_AND_ANALYZE_REDEFINITION Signature

Method CHECK_AND_ANALYZE_REDEFINITION on class CL_RFAC_SELECTION_ANALYZER has no parameter.
# Exception Resumable Description Created on
1 CX_RFAC_ERROR 20110704

Method CHECK_EXTRACT_METHOD_SUPPORTED Signature

Method CHECK_EXTRACT_METHOD_SUPPORTED on class CL_RFAC_SELECTION_ANALYZER has no parameter.
# Exception Resumable Description Created on
1 CX_RFAC_ERROR 20110701

Method CHECK_PRECONDITIONS Signature

Method CHECK_PRECONDITIONS on class CL_RFAC_SELECTION_ANALYZER has no parameter.
# Exception Resumable Description Created on
1 CX_RFAC_ERROR 20110701

Method CHECK_SELECTION_CONSISTENCY Signature

Method CHECK_SELECTION_CONSISTENCY on class CL_RFAC_SELECTION_ANALYZER has no parameter.
# Exception Resumable Description Created on
1 CX_RFAC_ERROR 20110701

Method DETERMINE_INTF_DATA_FULLNAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DECLARATION Call by reference Type reference (TYPE) CL_RFAC_SELECTION_ANALYZER=>TY_S_DECLARATION 20120320
2 Returning R_INTF_DATA_FULLNAME Value transfer Type reference (TYPE) STRING 20120320

Method DETERMINE_INTF_DATA_FULLNAME on class CL_RFAC_SELECTION_ANALYZER has no exception.

Method DETERMINE_VISIBILITY_AND_KIND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_METHOD Call by reference Type reference (TYPE) IF_RFAC_IMPL_TYPES=>TS_METHOD 20110701

Method DETERMINE_VISIBILITY_AND_KIND on class CL_RFAC_SELECTION_ANALYZER has no exception.

Method FIND_TOKEN_FOR_ANALYSIS Signature

Method FIND_TOKEN_FOR_ANALYSIS on class CL_RFAC_SELECTION_ANALYZER has no parameter.
Method FIND_TOKEN_FOR_ANALYSIS on class CL_RFAC_SELECTION_ANALYZER has no exception.

Method GET_COMPILER_REFS_FOR_METHOD Signature

Method GET_COMPILER_REFS_FOR_METHOD on class CL_RFAC_SELECTION_ANALYZER has no parameter.
# Exception Resumable Description Created on
1 CX_RFAC_ERROR 20110701

Method GET_EXCEPTION_INFORMATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_METHOD Call by reference Type reference (TYPE) IF_RFAC_IMPL_TYPES=>TS_METHOD 20110701

Method GET_EXCEPTION_INFORMATION on class CL_RFAC_SELECTION_ANALYZER has no exception.

Method GET_INCLUDE_SOURCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_INCLUDE_SOURCE Call by reference Type reference (TYPE) STRING_TABLE 20110704
2 Importing I_INCLUDE_NAME Call by reference Type reference (TYPE) PROGRAMM 20110704

Method GET_INCLUDE_SOURCE on class CL_RFAC_SELECTION_ANALYZER has no exception.

Method GET_INFO_FOR_EXTRACT_METHOD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_METHOD Call by reference Type reference (TYPE) IF_RFAC_IMPL_TYPES=>TS_METHOD 20110701
# Exception Resumable Description Created on
1 CX_RFAC_ERROR 20110704

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SOURCE_HANDLER Call by reference Object reference (TYPE REF TO) IF_RIS_ADT_SOURCE_HANDLER 20110701
2 Returning R_INSTANCE Value transfer Object reference (TYPE REF TO) CL_RFAC_SELECTION_ANALYZER 20110701
# Exception Resumable Description Created on
1 CX_RFAC_ERROR 20110701

Method GET_SOURCE_METHOD_INFORMATION Signature

Method GET_SOURCE_METHOD_INFORMATION on class CL_RFAC_SELECTION_ANALYZER has no parameter.
# Exception Resumable Description Created on
1 CX_RFAC_ERROR 20110701

Method INITIALIZE_ABAP_COMPILER Signature

Method INITIALIZE_ABAP_COMPILER on class CL_RFAC_SELECTION_ANALYZER has no parameter.
Method INITIALIZE_ABAP_COMPILER on class CL_RFAC_SELECTION_ANALYZER has no exception.

Method INIT_SCAN_RESULT_AND_PST Signature

Method INIT_SCAN_RESULT_AND_PST on class CL_RFAC_SELECTION_ANALYZER has no parameter.
Method INIT_SCAN_RESULT_AND_PST on class CL_RFAC_SELECTION_ANALYZER has no exception.

Method IS_EXCEPTION_CATCHED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CURRENT_TOKEN_INDEX Call by reference Type reference (TYPE) I 20110701
2 Importing I_EXCEPTION Call by reference Type reference (TYPE) SEOCMPNAME 20110701
3 Importing I_SELECTION_TOKENS Call by reference Type reference (TYPE) CL_RFAC_SELECTION_ANALYZER=>TY_T_STOKESX 20110701
4 Returning R_EXCEPTION_IS_CATCHED Value transfer Type reference (TYPE) ABAP_BOOL 20110701

Method IS_EXCEPTION_CATCHED on class CL_RFAC_SELECTION_ANALYZER has no exception.

Method IS_WRITE_ACCESS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_IS_READ_ACCESS Call by reference Type reference (TYPE) ABAP_BOOL 20110928
2 Exporting E_IS_WRITE_ACCESS Call by reference Type reference (TYPE) ABAP_BOOL 20110928
3 Importing I_COMPILER_REFERENCE Call by reference Type reference (TYPE) SCR_REF 20110701

Method IS_WRITE_ACCESS on class CL_RFAC_SELECTION_ANALYZER has no exception.

Method QUALIFY_REFS_IN_SELECTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_CANDIDATE_PARAMETERS Call by reference Type reference (TYPE) TY_T_CANDIDATE_PARAMETERS 20120320
2 Exporting E_SOURCE_TYPES Call by reference Type reference (TYPE) IF_RFAC_IMPL_TYPES=>TT_TYPES 20120320
3 Exporting E_TYPES_TO_COPY Call by reference Type reference (TYPE) IF_RFAC_IMPL_TYPES=>TT_TYPES 20130117
# Exception Resumable Description Created on
1 CX_RFAC_ERROR 20120320

Method READ_EXTERNAL_SOURCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_EXTERNAL_SOURCE Call by reference Type reference (TYPE) STRING_TABLE 20110704
2 Importing I_INCLUDE_NAME Call by reference Type reference (TYPE) STRING 20110704

Method READ_EXTERNAL_SOURCE on class CL_RFAC_SELECTION_ANALYZER has no exception.

Method RESOLVE_LIKE_DEFINITION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_TYPE_DEFINITION Call by reference Type reference (TYPE) IF_RFAC_IMPL_TYPES=>TS_TYPE 20110701
2 Importing I_LIKE_STRING Call by reference Type reference (TYPE) STRING 20110701

Method RESOLVE_LIKE_DEFINITION on class CL_RFAC_SELECTION_ANALYZER has no exception.

Method SCAN_AND_QUALIFY_SOURCE_METHOD Signature

Method SCAN_AND_QUALIFY_SOURCE_METHOD on class CL_RFAC_SELECTION_ANALYZER has no parameter.
Method SCAN_AND_QUALIFY_SOURCE_METHOD on class CL_RFAC_SELECTION_ANALYZER has no exception.
History
Last changed by/on SAP  20140121 
SAP Release Created in 740