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
⤷ 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 | ADD_DELTA_4_CONTEXT_REGION | Instance method | Private | Method | 20130415 | |
2 | ADD_DELTA_4_HELPER_TYPE | Instance method | Private | Method | 20130913 | |
3 | ADD_DELTA_4_NEW_PARAMETER | Instance method | Private | Method | 20130820 | |
4 | ADD_USAGE_UPDATE_TO_RESULT | Instance method | Private | Method | 20130306 | |
5 | ADJUST_COMPONENT_NAME_AT_USAGE | Instance method | Private | Method | 20130711 | |
6 | APPROVE_COMP_NAME_AND_TYPE | Instance method | Private | Method | 20130306 | |
7 | CREATE | Static method | Public | Method | 20130306 | |
8 | DETERMINE_KIND_OF_MEMBER | Instance method | Private | Method | 20130306 | |
9 | DETERMINE_OCCURRENCE_TOKENS | Instance method | Private | Method | 20130306 | |
10 | FIND_OCCURRENCES_OF_LOCAL | Instance method | Private | Method | 20130516 | |
11 | GET_LOCAL_DECLARATION_NODE | Instance method | Private | Method | 20130409 | |
12 | GET_PARAMETER_KIND | Instance method | Private | Method | 20130820 | |
13 | STORE_RELEVANT_DATA_FROM_BOARD | 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 | Importing | 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 | Importing | I_METHOD_DEFINITION | Call by reference | Object reference (TYPE REF TO) | CL_PST_METHOD_DEFINITION | 20130913 | |||
2 | Importing | I_PST_VARIABLE | Call by reference | Object reference (TYPE REF TO) | CL_PST_VARIABLE | 20130913 | |||
3 | Importing | 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 | Importing | I_PARAMETER_KIND | Call by reference | Object reference (TYPE REF TO) | CE_PST_KIND | 20130820 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_QUICKFIX_ERROR | 20130820 |
Method ADD_USAGE_UPDATE_TO_RESULT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | 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 | Changing | C_OCCURRENCE_INDICES | Call by reference | Type reference (TYPE) | TY_T_OCCURRENCE_INDICES | 20130711 | |||
2 | Importing | I_INSERT_REGION | Call by reference | Object reference (TYPE REF TO) | CL_PST_REGION | 20130711 | |||
3 | Importing | 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 | Changing | C_OCCURRENCE_INDICES | Call by reference | Type reference (TYPE) | TY_T_OCCURRENCE_INDICES | 20130306 | |||
2 | Exporting | E_SYNTAX_ERROR_MESSAGES | Call by reference | Type reference (TYPE) | STRING_TABLE | 20131029 | |||
3 | Importing | I_INSERT_REGION | Call by reference | Object reference (TYPE REF TO) | CL_PST_REGION | 20130306 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_RFAC_ERROR | 20130306 |
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 | 20130516 | |||
2 | Returning | 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 | Importing | I_IS_STATIC_METHOD | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20130306 | |||
2 | Importing | I_LOCAL_KIND | Call by reference | Object reference (TYPE REF TO) | CE_PST_KIND | 20130306 | |||
3 | Returning | 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 | Importing | I_OCCURRENCES | Call by reference | Type reference (TYPE) | IF_RIS_OCCURRENCE_FINDER=>OCCURRENCES | 20130306 | |||
2 | Returning | 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 | Returning | R_RESULT | Value transfer | Type reference (TYPE) | IF_RIS_OCCURRENCE_FINDER=>OCCURRENCES | 20130516 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_QUICKFIX_ERROR | 20130516 |
Method GET_LOCAL_DECLARATION_NODE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | 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 | Importing | I_QFIX | Call by reference | Object reference (TYPE REF TO) | CE_ART_QFIX | 20130820 | |||
2 | Returning | 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 |