@@ -51,79 +51,80 @@ CLASS y_demo_failures DEFINITION PUBLIC FINAL CREATE PUBLIC.
51
51
EVENTS event_five.
52
52
53
53
PROTECTED SECTION .
54
-
55
- DATA attribute_2 TYPE string .
56
- DATA attribute_3 TYPE string .
57
- DATA attribute_4 TYPE string .
58
- DATA attribute_5 TYPE string .
59
- DATA attribute_6 TYPE string .
60
-
61
- METHODS call_method_usage .
62
- METHODS chain_declaration_usage .
63
- METHODS check_statement_position .
64
- METHODS check_in_loop .
65
- METHODS function .
66
- METHODS comment_position .
67
- METHODS comment_type .
68
- METHODS cx_root_usage .
69
- METHODS cyclomatic_complexity .
70
- METHODS sub_assign_read_table .
71
- METHODS deprecated_key_words .
72
- METHODS empty_catches .
73
- METHODS empty_if_branch .
74
- METHODS empty_procedure .
75
- METHODS equals_sign_chaining .
76
- METHODS magic_number .
54
+ DATA attribute_2 TYPE string .
55
+ DATA attribute_3 TYPE string .
56
+ DATA attribute_4 TYPE string .
57
+ DATA attribute_5 TYPE string .
58
+ DATA attribute_6 TYPE string .
59
+
60
+ METHODS call_method_usage.
61
+ METHODS chain_declaration_usage.
62
+ METHODS check_statement_position.
63
+ METHODS check_in_loop.
64
+ METHODS function .
65
+ METHODS comment_position.
66
+ METHODS comment_type.
67
+ METHODS cx_root_usage.
68
+ METHODS cyclomatic_complexity.
69
+ METHODS sub_assign_read_table.
70
+ METHODS deprecated_key_words.
71
+ METHODS empty_catches.
72
+ METHODS empty_if_branch.
73
+ METHODS empty_procedure.
74
+ METHODS equals_sign_chaining.
75
+ METHODS magic_number.
77
76
METHODS method_output_parameter
78
77
EXPORTING
79
78
!error TYPE char1
80
79
RETURNING
81
- VALUE (result ) TYPE string_table . "#EC NUM_OUTPUT_PARA
80
+ VALUE (result ) TYPE string_table. "#EC NUM_OUTPUT_PARA
82
81
METHODS method_return_bool "#EC NUM_OUTPUT_PARA
83
82
RETURNING
84
- VALUE (result ) TYPE abap_bool .
85
- METHODS max_nesting_depth .
83
+ VALUE (result ) TYPE abap_bool .
84
+ METHODS max_nesting_depth.
86
85
METHODS non_class_based_exception
87
86
EXCEPTIONS
88
- no_class_based .
89
- METHODS number_executable_statements .
87
+ no_class_based.
88
+ METHODS number_executable_statements.
90
89
METHODS number_output_parameters
91
90
EXPORTING
92
91
!output_1 TYPE string
93
- !output_2 TYPE string .
94
- METHODS pseudo_comment_usage .
95
- METHODS receiving_usage .
96
- METHODS external_call_in_prod_code_ok .
92
+ !output_2 TYPE string .
93
+ METHODS pseudo_comment_usage.
94
+ METHODS receiving_usage.
95
+ METHODS external_call_in_prod_code_ok.
97
96
METHODS boolean_input_parameter
98
97
IMPORTING
99
- !do_save TYPE abap_bool .
100
- METHODS omit_optional_exporting .
98
+ !do_save TYPE abap_bool .
99
+ METHODS omit_optional_exporting.
101
100
METHODS optional_parameters
102
101
IMPORTING
103
- !name TYPE string OPTIONAL .
102
+ !name TYPE string OPTIONAL .
104
103
METHODS returning_name "#EC NUM_OUTPUT_PARA
105
104
RETURNING
106
- VALUE (name ) TYPE string .
107
- METHODS self_reference .
108
- METHODS test_seam_usage .
105
+ VALUE (name ) TYPE string .
106
+ METHODS self_reference.
107
+ METHODS test_seam_usage.
109
108
METHODS multiple_pseudo_comments
110
109
IMPORTING
111
110
!name TYPE string
112
111
!surname TYPE string OPTIONAL
113
112
!active TYPE abap_bool OPTIONAL
114
113
RETURNING
115
- VALUE (age ) TYPE i . "#EC RET_NAME #EC BOOL_PARAM "#EC OPTL_PARAM
116
- METHODS prefer_is_not_to_not_is .
117
- METHODS prefer_case_to_elseif .
118
- METHODS deprecated_classes .
119
- METHODS scope_of_variable .
114
+ VALUE (age ) TYPE i . "#EC RET_NAME #EC BOOL_PARAM "#EC OPTL_PARAM
115
+ METHODS prefer_is_not_to_not_is.
116
+ METHODS prefer_case_to_elseif.
117
+ METHODS deprecated_classes.
118
+ METHODS scope_of_variable.
119
+
120
120
PRIVATE SECTION .
121
121
DATA attribute_7 TYPE string .
122
122
DATA attribute_8 TYPE string .
123
123
DATA attribute_9 TYPE string .
124
124
DATA attribute_10 TYPE string .
125
125
DATA attribute_11 TYPE string .
126
126
DATA attribute_12 TYPE string .
127
+
127
128
ENDCLASS .
128
129
129
130
0 commit comments