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 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_ABAP_COMPILER | 20110701 | ||||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_RIS_ADT_SOURCE_HANDLER | 20110701 | ||||
| 3 | Instance attribute | Private | Type reference (TYPE) | IF_RIS_SOURCE_POSITION=>TY_SELECTION | 20110701 | ||||
| 4 | Instance attribute | Private | Type reference (TYPE) | SCR_GLREFS | 20110701 | ||||
| 5 | Instance attribute | Private | Type reference (TYPE) | TY_T_UNUSED_VARIABLE_REFS | 20110701 |
Methods
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 | ET_UNUSED_VARIABLES | Call by reference | Type reference (TYPE) | IF_RIS_SOURCE_POSITION=>TY_T_SELECTION | 20110701 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110701 |
Method CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_RIS_ADT_SOURCE_HANDLER | Call by reference | Object reference (TYPE REF TO) | IF_RIS_ADT_SOURCE_HANDLER | 20110701 | ||||
| 2 | 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 | IT_UNUSED_VARIABLES | Call by reference | Type reference (TYPE) | IF_RIS_SOURCE_POSITION=>TY_T_SELECTION | 20110701 | ||||
| 2 | RO_DELETION_INCLUDE | Value transfer | Object reference (TYPE REF TO) | IF_RIS_INCLUDE | 20110701 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110701 |
Method FILTER_UNUSED_VARIABLES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_UNUSED_VARIABLES | Call by reference | Type reference (TYPE) | IF_RIS_SOURCE_POSITION=>TY_T_SELECTION | 20110701 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110701 |
Method GET_CHAIN_INFORMATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_CHAIN_INFORMATION | Call by reference | Type reference (TYPE) | TY_T_CHAIN_INFORMATION | 20110701 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110701 |
Method HANDLE_COMMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_RANGES | Call by reference | Type reference (TYPE) | IF_RIS_INCLUDE=>TT_RANGES | 20110701 | ||||
| 2 | IS_CURRENT_RANGE | Call by reference | Type reference (TYPE) | IF_RIS_INCLUDE=>TS_RANGE | 20110701 | ||||
| 3 | IT_ADT_SOURCE_CODE | Call by reference | Type reference (TYPE) | STRING_TABLE | 20110701 | ||||
| 4 | IV_ADT_SOURCE_LINE | Call by reference | Type reference (TYPE) | STRING | 20110701 | ||||
| 5 | IV_TERMINATOR_COLUMN | Call by reference | Type reference (TYPE) | I | 20110701 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | IS_REFERENCE | Call by reference | Type reference (TYPE) | SCR_REF | 20110701 | ||||
| 2 | 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 | IS_REFERENCE | Call by reference | Type reference (TYPE) | SCR_REF | 20120424 | ||||
| 2 | RV_REFERENCE_NEEDED | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20120424 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120424 |
Method IS_USED_IN_DYNPRO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_COMPILER_REFERENCE | Call by reference | Type reference (TYPE) | SCR_REF | 20120605 | ||||
| 2 | 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 | IT_SOURCE_CODE | Call by reference | Type reference (TYPE) | STRING_TABLE | 20120418 | ||||
| 2 | IV_CURRENT_INDEX | Call by reference | Type reference (TYPE) | I | 20120418 | ||||
| 3 | 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 |