SAP ABAP Class CL_ART_APPLY_4_PROMOTE_LOCAL (Refactoring - promote local variable to attribute)
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 | 20130306 |
Properties
| Class | CL_ART_APPLY_4_PROMOTE_LOCAL | |
| Short Description | Refactoring - promote local variable to attribute | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SRFAC_BLACKBOARD | Refactoring Blackboard |
| Created | 20120702 | SAP |
| Last change | 20140121 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_ART_APPLY_4_PROMOTE_LOCAL has no forward declaration.
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_QFIX_QUICKFIX | Interface to provide a refactoring quickfix | 20130306 |
Friends
Class CL_ART_APPLY_4_PROMOTE_LOCAL has no friend class.
Attributes
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | 20130415 | ||
| 2 | Instance method | Private | Method | 20130913 | ||
| 3 | Instance method | Private | Method | 20130820 | ||
| 4 | Instance method | Private | Method | 20130306 | ||
| 5 | Instance method | Private | Method | 20130711 | ||
| 6 | Instance method | Private | Method | 20130306 | ||
| 7 | Static method | Public | Method | 20130306 | ||
| 8 | Instance method | Private | Method | 20130306 | ||
| 9 | Instance method | Private | Method | 20130306 | ||
| 10 | Instance method | Private | Method | 20130516 | ||
| 11 | Instance method | Private | Method | 20130409 | ||
| 12 | Instance method | Private | Method | 20130820 | ||
| 13 | Instance method | Private | Method | 20130306 |
Events
Class CL_ART_APPLY_4_PROMOTE_LOCAL has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_S_OCCURRENCE_INDEX | Private | See coding | 20130306 | BEGIN OF ty_s_occurrence_index,
occurrence TYPE if_ris_occurrence_finder=>occurrence,
token_index TYPE ty_s_stmnt_token_index,
END OF ty_s_occurrence_index
|
||
| 2 | TY_S_STMNT_TOKEN_INDEX | Private | See coding | 20130326 | BEGIN OF ty_s_stmnt_token_index,
stmnt_index TYPE i,
relative_token_index TYPE i,
END OF ty_s_stmnt_token_index
|
||
| 3 | TY_T_OCCURRENCE_INDICES | Private | See coding | 20130306 | ty_t_occurrence_indices TYPE STANDARD TABLE OF ty_s_occurrence_index WITH DEFAULT KEY
|
Method Signatures
Method ADD_DELTA_4_CONTEXT_REGION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CONTEXT_REGION | Call by reference | Object reference (TYPE REF TO) | CL_PST_REGION | 20130415 |
Method ADD_DELTA_4_CONTEXT_REGION on class CL_ART_APPLY_4_PROMOTE_LOCAL has no exception.
Method ADD_DELTA_4_HELPER_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_METHOD_DEFINITION | Call by reference | Object reference (TYPE REF TO) | CL_PST_METHOD_DEFINITION | 20130913 | ||||
| 2 | I_PST_VARIABLE | Call by reference | Object reference (TYPE REF TO) | CL_PST_VARIABLE | 20130913 | ||||
| 3 | I_TYPE_NAME | Call by reference | Type reference (TYPE) | STRING | 20130913 |
Method ADD_DELTA_4_HELPER_TYPE on class CL_ART_APPLY_4_PROMOTE_LOCAL has no exception.
Method ADD_DELTA_4_NEW_PARAMETER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_PARAMETER_KIND | Call by reference | Object reference (TYPE REF TO) | CE_PST_KIND | 20130820 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130820 |
Method ADD_USAGE_UPDATE_TO_RESULT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_OCCURRENCE_INDICES | Call by reference | Type reference (TYPE) | TY_T_OCCURRENCE_INDICES | 20130306 |
Method ADD_USAGE_UPDATE_TO_RESULT on class CL_ART_APPLY_4_PROMOTE_LOCAL has no exception.
Method ADJUST_COMPONENT_NAME_AT_USAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_OCCURRENCE_INDICES | Call by reference | Type reference (TYPE) | TY_T_OCCURRENCE_INDICES | 20130711 | ||||
| 2 | I_INSERT_REGION | Call by reference | Object reference (TYPE REF TO) | CL_PST_REGION | 20130711 | ||||
| 3 | I_NEW_COMPONENT_NAME | Call by reference | Type reference (TYPE) | STRING | 20130711 |
Method ADJUST_COMPONENT_NAME_AT_USAGE on class CL_ART_APPLY_4_PROMOTE_LOCAL has no exception.
Method APPROVE_COMP_NAME_AND_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_OCCURRENCE_INDICES | Call by reference | Type reference (TYPE) | TY_T_OCCURRENCE_INDICES | 20130306 | ||||
| 2 | E_SYNTAX_ERROR_MESSAGES | Call by reference | Type reference (TYPE) | STRING_TABLE | 20131029 | ||||
| 3 | I_INSERT_REGION | Call by reference | Object reference (TYPE REF TO) | CL_PST_REGION | 20130306 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130306 |
Method CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_BLACKBOARD | Call by reference | Object reference (TYPE REF TO) | CL_ART_BLACKBOARD | 20130516 | ||||
| 2 | R_INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_ART_APPLY_4_PROMOTE_LOCAL | 20130306 |
Method CREATE on class CL_ART_APPLY_4_PROMOTE_LOCAL has no exception.
Method DETERMINE_KIND_OF_MEMBER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_IS_STATIC_METHOD | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20130306 | ||||
| 2 | I_LOCAL_KIND | Call by reference | Object reference (TYPE REF TO) | CE_PST_KIND | 20130306 | ||||
| 3 | R_RESULT | Value transfer | Object reference (TYPE REF TO) | CE_PST_KIND | 20130306 |
Method DETERMINE_KIND_OF_MEMBER on class CL_ART_APPLY_4_PROMOTE_LOCAL has no exception.
Method DETERMINE_OCCURRENCE_TOKENS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_OCCURRENCES | Call by reference | Type reference (TYPE) | IF_RIS_OCCURRENCE_FINDER=>OCCURRENCES | 20130306 | ||||
| 2 | R_RESULT | Value transfer | Type reference (TYPE) | TY_T_OCCURRENCE_INDICES | 20130306 |
Method DETERMINE_OCCURRENCE_TOKENS on class CL_ART_APPLY_4_PROMOTE_LOCAL has no exception.
Method FIND_OCCURRENCES_OF_LOCAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_RESULT | Value transfer | Type reference (TYPE) | IF_RIS_OCCURRENCE_FINDER=>OCCURRENCES | 20130516 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130516 |
Method GET_LOCAL_DECLARATION_NODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_RESULT | Value transfer | Object reference (TYPE REF TO) | CL_PST_NODE | 20130409 |
Method GET_LOCAL_DECLARATION_NODE on class CL_ART_APPLY_4_PROMOTE_LOCAL has no exception.
Method GET_PARAMETER_KIND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_QFIX | Call by reference | Object reference (TYPE REF TO) | CE_ART_QFIX | 20130820 | ||||
| 2 | R_PST_KIND | Value transfer | Object reference (TYPE REF TO) | CE_PST_KIND | 20130820 |
Method GET_PARAMETER_KIND on class CL_ART_APPLY_4_PROMOTE_LOCAL has no exception.
Method STORE_RELEVANT_DATA_FROM_BOARD Signature
Method STORE_RELEVANT_DATA_FROM_BOARD on class CL_ART_APPLY_4_PROMOTE_LOCAL has no parameter.
Method STORE_RELEVANT_DATA_FROM_BOARD on class CL_ART_APPLY_4_PROMOTE_LOCAL has no exception.
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 740 |