SAP ABAP Class CL_RIS_CLEANUP_VARIABLES (Repository Information System: Cleanup unused variables)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-UTL-INR (Application Component) Repository Infosystem
     SRIS_CLEANUP (Package) Repository Information System: Cleanup Services
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_RIS_CLEANUP_VARIABLES Repository Information System: Cleanup unused variables 20110701
Properties
Class CL_RIS_CLEANUP_VARIABLES  
Short Description Repository Information System: Cleanup unused variables    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SRIS_CLEANUP   Repository Information System: Cleanup Services 
Created 20110411   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_RIS_CLEANUP_VARIABLES has no forward declaration.
Interfaces
# Interface Abstract Final Description Created on
1 IF_RIS_CLEANUP_VARIABLES Repository Information System: Cleanup unused variables 20110701
Friends
Class CL_RIS_CLEANUP_VARIABLES has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MO_ABAP_COMPILER Instance attribute Private Object reference (TYPE REF TO) CL_ABAP_COMPILER 20110701
2 MO_RIS_SOURCE_HANDLER Instance attribute Private Object reference (TYPE REF TO) IF_RIS_ADT_SOURCE_HANDLER 20110701
3 MS_BACKEND_POSITION Instance attribute Private Type reference (TYPE) IF_RIS_SOURCE_POSITION=>TY_SELECTION 20110701
4 MT_CANDIDATE_REFERENCES Instance attribute Private Type reference (TYPE) SCR_GLREFS 20110701
5 MT_UNUSED_VARIABLE_REFERENCES Instance attribute Private Type reference (TYPE) TY_T_UNUSED_VARIABLE_REFS 20110701
Methods
# Method Level Visibility Method type Description Created on
1 CLEANUP_CANDIDATE_REFERENCES Instance method Private Method 20110701
2 CONVERT_UNUSED_VARIABLES Instance method Private Method 20110701
3 CREATE Static method Public Method 20110701
4 CREATE_DELETION_INCLUDE Instance method Private Method 20110701
5 FILTER_UNUSED_VARIABLES Instance method Private Method 20110701
6 GET_CHAIN_INFORMATION Instance method Private Method 20110701
7 HANDLE_COMMENT Instance method Private Method 20110701
8 IDENTIFY_UNUSED_VARIABLES Instance method Private Method 20110701
9 INIT Instance method Private Method 20110701
10 INITIALIZE_ABAP_COMPILER Instance method Private Method 20110701
11 IS_EXTERNAL_REFERENCE Instance method Private Method 20110701
12 IS_REFERENCE_NEEDED Instance method Private Method 20120424
13 IS_USED_IN_DYNPRO Instance method Private Method 20120605
14 NEXT_LINE_START_WITH_COMMENT Instance method Private Method 20120418
15 REMOVE_EXTERNAL_REFERENCES Instance method Private Method 20110701
16 RETRIEVE_CANDIDATE_REFERENCES Instance method Private Method 20110701
Events
Class CL_RIS_CLEANUP_VARIABLES has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_S_ANNOTATED_STATEMENT Private See coding 20110701 BEGIN OF ty_s_annotated_statement, statement TYPE sstmnt, for_deletion TYPE abap_bool, deletion_start TYPE ty_s_position, deletion_end TYPE ty_s_position, END OF ty_s_annotated_statement
2 TY_S_CHAIN_INFORMATION Private See coding 20110701 BEGIN OF ty_s_chain_information, include TYPE programm, chain_start TYPE ty_s_position, period_terminator TYPE ty_s_position, is_data_declaration TYPE abap_bool, is_type_declaration TYPE abap_bool, statements TYPE ty_t_annotated_statements, END OF ty_s_chain_information
3 TY_S_POSITION Private See coding 20110704 BEGIN OF ty_s_position, row TYPE i, col TYPE i, END OF ty_s_position
4 TY_S_UNUSED_VARIABLE_REF Private See coding 20120416 BEGIN OF ty_s_unused_variable_ref, full_name TYPE string, references TYPE scr_refs, END OF ty_s_unused_variable_ref
5 TY_T_ANNOTATED_STATEMENTS Private See coding 20110701 ty_t_annotated_statements TYPE SORTED TABLE OF ty_s_annotated_statement WITH UNIQUE KEY statement
6 TY_T_CHAIN_INFORMATION Private See coding 20110701 ty_t_chain_information TYPE SORTED TABLE OF ty_s_chain_information WITH UNIQUE KEY include chain_start
7 TY_T_UNUSED_VARIABLE_REFS Private See coding 20120416 ty_t_unused_variable_refs TYPE SORTED TABLE OF ty_s_unused_variable_ref WITH UNIQUE KEY full_name
Method Signatures

Method CLEANUP_CANDIDATE_REFERENCES Signature

Method CLEANUP_CANDIDATE_REFERENCES on class CL_RIS_CLEANUP_VARIABLES has no parameter.
Method CLEANUP_CANDIDATE_REFERENCES on class CL_RIS_CLEANUP_VARIABLES has no exception.

Method CONVERT_UNUSED_VARIABLES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_UNUSED_VARIABLES Call by reference Type reference (TYPE) IF_RIS_SOURCE_POSITION=>TY_T_SELECTION 20110701
# Exception Resumable Description Created on
1 CX_RIS_POSITION 20110701

Method CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_RIS_ADT_SOURCE_HANDLER Call by reference Object reference (TYPE REF TO) IF_RIS_ADT_SOURCE_HANDLER 20110701
2 Returning R_RESULT Value transfer Object reference (TYPE REF TO) CL_RIS_CLEANUP_VARIABLES 20110701

Method CREATE on class CL_RIS_CLEANUP_VARIABLES has no exception.

Method CREATE_DELETION_INCLUDE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_UNUSED_VARIABLES Call by reference Type reference (TYPE) IF_RIS_SOURCE_POSITION=>TY_T_SELECTION 20110701
2 Returning RO_DELETION_INCLUDE Value transfer Object reference (TYPE REF TO) IF_RIS_INCLUDE 20110701
# Exception Resumable Description Created on
1 CX_RFAC_ERROR 20110701

Method FILTER_UNUSED_VARIABLES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_UNUSED_VARIABLES Call by reference Type reference (TYPE) IF_RIS_SOURCE_POSITION=>TY_T_SELECTION 20110701
# Exception Resumable Description Created on
1 CX_RIS_POSITION 20110701

Method GET_CHAIN_INFORMATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CHAIN_INFORMATION Call by reference Type reference (TYPE) TY_T_CHAIN_INFORMATION 20110701
# Exception Resumable Description Created on
1 CX_RIS_POSITION 20110701

Method HANDLE_COMMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_RANGES Call by reference Type reference (TYPE) IF_RIS_INCLUDE=>TT_RANGES 20110701
2 Importing IS_CURRENT_RANGE Call by reference Type reference (TYPE) IF_RIS_INCLUDE=>TS_RANGE 20110701
3 Importing IT_ADT_SOURCE_CODE Call by reference Type reference (TYPE) STRING_TABLE 20110701
4 Importing IV_ADT_SOURCE_LINE Call by reference Type reference (TYPE) STRING 20110701
5 Importing IV_TERMINATOR_COLUMN Call by reference Type reference (TYPE) I 20110701
# Exception Resumable Description Created on
1 CX_RFAC_ERROR 20110701

Method IDENTIFY_UNUSED_VARIABLES Signature

Method IDENTIFY_UNUSED_VARIABLES on class CL_RIS_CLEANUP_VARIABLES has no parameter.
Method IDENTIFY_UNUSED_VARIABLES on class CL_RIS_CLEANUP_VARIABLES has no exception.

Method INIT Signature

Method INIT on class CL_RIS_CLEANUP_VARIABLES has no parameter.
Method INIT on class CL_RIS_CLEANUP_VARIABLES has no exception.

Method INITIALIZE_ABAP_COMPILER Signature

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

Method IS_EXTERNAL_REFERENCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_REFERENCE Call by reference Type reference (TYPE) SCR_REF 20110701
2 Returning RV_IS_EXTERNAL_REFERENCE Value transfer Type reference (TYPE) ABAP_BOOL 20110701

Method IS_EXTERNAL_REFERENCE on class CL_RIS_CLEANUP_VARIABLES has no exception.

Method IS_REFERENCE_NEEDED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_REFERENCE Call by reference Type reference (TYPE) SCR_REF 20120424
2 Returning RV_REFERENCE_NEEDED Value transfer Type reference (TYPE) ABAP_BOOL 20120424
# Exception Resumable Description Created on
1 CX_RIS_POSITION 20120424

Method IS_USED_IN_DYNPRO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_COMPILER_REFERENCE Call by reference Type reference (TYPE) SCR_REF 20120605
2 Returning RV_IS_USED_IN_DYNPRO Value transfer Type reference (TYPE) ABAP_BOOL 20120605

Method IS_USED_IN_DYNPRO on class CL_RIS_CLEANUP_VARIABLES has no exception.

Method NEXT_LINE_START_WITH_COMMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_SOURCE_CODE Call by reference Type reference (TYPE) STRING_TABLE 20120418
2 Importing IV_CURRENT_INDEX Call by reference Type reference (TYPE) I 20120418
3 Returning RV_STARTS_WITH_COMMENT Value transfer Type reference (TYPE) ABAP_BOOL 20120418

Method NEXT_LINE_START_WITH_COMMENT on class CL_RIS_CLEANUP_VARIABLES has no exception.

Method REMOVE_EXTERNAL_REFERENCES Signature

Method REMOVE_EXTERNAL_REFERENCES on class CL_RIS_CLEANUP_VARIABLES has no parameter.
Method REMOVE_EXTERNAL_REFERENCES on class CL_RIS_CLEANUP_VARIABLES has no exception.

Method RETRIEVE_CANDIDATE_REFERENCES Signature

Method RETRIEVE_CANDIDATE_REFERENCES on class CL_RIS_CLEANUP_VARIABLES has no parameter.
Method RETRIEVE_CANDIDATE_REFERENCES on class CL_RIS_CLEANUP_VARIABLES has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 740