Skip to content

Commit 0b5033c

Browse files
authored
update
1 parent b14040c commit 0b5033c

29 files changed

+318
-99
lines changed

abaplint_rename.json

Lines changed: 195 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,195 @@
1+
{
2+
"global": {
3+
"files": "/input/src/**/*.*",
4+
"exclude": [],
5+
"skipGeneratedGatewayClasses": true,
6+
"skipGeneratedPersistentClasses": true,
7+
"skipGeneratedFunctionGroups": true,
8+
"useApackDependencies": false
9+
},
10+
"dependencies": [
11+
{
12+
"url": "https://github.com/abaplint/deps",
13+
"folder": "/deps",
14+
"files": "/src/**/*.*"
15+
}
16+
],
17+
"rename": {
18+
"output": "output",
19+
"patterns": [{"type": "CLAS|INTF", "oldName": "z(.*)_srtti", "newName": "z2ui5_$1_srtti"}]
20+
},
21+
"syntax": {
22+
"version": "v702",
23+
"errorNamespace": "^(Z|Y|LCL_|TY_|LIF_)",
24+
"globalConstants": [],
25+
"globalMacros": []
26+
},
27+
"rules": {
28+
"7bit_ascii": false,
29+
"abapdoc": false,
30+
"allowed_object_naming": true,
31+
"allowed_object_types": false,
32+
"ambiguous_statement": false,
33+
"avoid_use": false,
34+
"begin_end_names": true,
35+
"begin_single_include": true,
36+
"call_transaction_authority_check": true,
37+
"chain_mainly_declarations": false,
38+
"check_abstract": true,
39+
"check_comments": false,
40+
"check_ddic": true,
41+
"check_include": true,
42+
"check_no_handler_pragma": true,
43+
"check_subrc": false,
44+
"check_syntax": true,
45+
"check_text_elements": true,
46+
"check_transformation_exists": true,
47+
"class_attribute_names": false,
48+
"cloud_types": true,
49+
"colon_missing_space": true,
50+
"commented_code": false,
51+
"constructor_visibility_public": true,
52+
"contains_tab": true,
53+
"cyclomatic_complexity": false,
54+
"definitions_top": false,
55+
"description_empty": true,
56+
"double_space": false,
57+
"downport": true,
58+
"empty_line_in_statement": false,
59+
"empty_statement": true,
60+
"empty_structure": false,
61+
"exit_or_check": false,
62+
"exporting": true,
63+
"forbidden_identifier": false,
64+
"forbidden_pseudo_and_pragma": false,
65+
"forbidden_void_type": {
66+
"exclude": [],
67+
"severity": "Error",
68+
"check": []
69+
},
70+
"form_tables_obsolete": false,
71+
"fully_type_constants": {
72+
"exclude": [],
73+
"severity": "Error",
74+
"checkData": true
75+
},
76+
"functional_writing": {
77+
"exclude": [],
78+
"severity": "Error",
79+
"ignoreExceptions": true
80+
},
81+
"global_class": true,
82+
"identical_conditions": true,
83+
"identical_contents": false,
84+
"identical_form_names": true,
85+
"if_in_if": true,
86+
"implement_methods": true,
87+
"in_statement_indentation": false,
88+
"indentation": false,
89+
"inline_data_old_versions": true,
90+
"keep_single_parameter_on_one_line": {
91+
"exclude": [],
92+
"severity": "Error",
93+
"length": 120
94+
},
95+
"keyword_case": false,
96+
"line_break_multiple_parameters": false,
97+
"line_break_style": false,
98+
"line_length": false,
99+
"line_only_punc": false,
100+
"local_class_naming": false,
101+
"local_testclass_location": true,
102+
"local_variable_names": false,
103+
"main_file_contents": true,
104+
"many_parenthesis": true,
105+
"max_one_statement": true,
106+
"message_exists": true,
107+
"method_length": false,
108+
"method_overwrites_builtin": false,
109+
"method_parameter_names": false,
110+
"mix_returning": false,
111+
"msag_consistency": true,
112+
"names_no_dash": true,
113+
"nesting": false,
114+
"newline_between_methods": false,
115+
"no_public_attributes": false,
116+
"object_naming": false,
117+
"obsolete_statement": {
118+
"exclude": [],
119+
"severity": "Error",
120+
"refresh": true,
121+
"compute": true,
122+
"add": true,
123+
"subtract": true,
124+
"multiply": true,
125+
"move": true,
126+
"divide": true,
127+
"requested": true,
128+
"occurs": true,
129+
"setExtended": true,
130+
"withHeaderLine": true,
131+
"fieldSymbolStructure": true,
132+
"typePools": true,
133+
"load": false
134+
},
135+
"omit_parameter_name": false,
136+
"parser_error": true,
137+
"parser_missing_space": true,
138+
"prefer_inline": false,
139+
"prefer_is_not": false,
140+
"prefer_returning_to_exporting": false,
141+
"prefer_xsdbool": false,
142+
"preferred_compare_operator": false,
143+
"prefix_is_current_class": false,
144+
"reduce_string_templates": true,
145+
"release_idoc": true,
146+
"remove_descriptions": false,
147+
"rfc_error_handling": false,
148+
"selection_screen_naming": {
149+
"exclude": [],
150+
"severity": "Error",
151+
"patternKind": "required",
152+
"ignoreNames": [],
153+
"ignorePatterns": [],
154+
"parameter": "^P_.+$",
155+
"selectOption": "^S_.+$"
156+
},
157+
"sequential_blank": {
158+
"exclude": [],
159+
"severity": "Error",
160+
"lines": 4
161+
},
162+
"short_case": {
163+
"exclude": [],
164+
"severity": "Error",
165+
"length": 1,
166+
"allow": []
167+
},
168+
"sicf_consistency": true,
169+
"space_before_colon": true,
170+
"space_before_dot": {
171+
"exclude": [],
172+
"severity": "Error",
173+
"ignoreGlobalDefinition": true,
174+
"ignoreExceptions": true
175+
},
176+
"sql_escape_host_variables": false,
177+
"start_at_tab": true,
178+
"superclass_final": true,
179+
"tabl_enhancement_category": true,
180+
"try_without_catch": true,
181+
"type_form_parameters": true,
182+
"types_naming": false,
183+
"unknown_types": true,
184+
"unreachable_code": true,
185+
"unused_methods": false,
186+
"unused_types": false,
187+
"unused_variables": false,
188+
"use_bool_expression": false,
189+
"use_line_exists": false,
190+
"use_new": false,
191+
"when_others_last": true,
192+
"whitespace_end": true,
193+
"xml_consistency": true
194+
}
195+
}

package.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"name": "srtti_mirror",
3+
"private": true,
4+
"version": "1.0.0",
5+
"description": "Mirror of (srtti)[https://github.com/sandraros/S-RTTI.git] mirror to z2ui5_ namespace",
6+
"scripts": {
7+
"clone": "git clone --branch 7.40 https://github.com/sandraros/S-RTTI.git input",
8+
"rename": "abaplint abaplint_rename.json --rename && rm src/* && cp output/input/src/* src/",
9+
"cleanup": "rm -rf input && rm -rf output"
10+
},
11+
"repository": {
12+
"type": "git",
13+
"url": "git+https://github.com/abapGit/ajson_mirror.git"
14+
},
15+
"author": "",
16+
"license": "MIT",
17+
"bugs": {
18+
"url": "https://github.com/abapGit/ajson_mirror/issues"
19+
},
20+
"homepage": "https://github.com/abapGit/ajson_mirror#readme",
21+
"dependencies": {
22+
"@abaplint/cli": "^2.113.85"
23+
}
24+
}
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CLASS zcl_srtti_aunit DEFINITION
1+
CLASS z2ui5_cl_srtti_aunit DEFINITION
22
PUBLIC
33
FOR TESTING
44
FINAL
@@ -12,15 +12,15 @@ ENDCLASS.
1212

1313

1414

15-
CLASS zcl_srtti_aunit IMPLEMENTATION.
15+
CLASS z2ui5_cl_srtti_aunit IMPLEMENTATION.
1616

1717
METHOD serialize_deserialize.
1818
" Serialize: both type and value at the same time.
1919
FIELD-SYMBOLS <variable1> TYPE any.
2020
DATA rtti1 TYPE REF TO cl_abap_typedescr.
21-
DATA srtti1 TYPE REF TO zcl_srtti_typedescr.
21+
DATA srtti1 TYPE REF TO z2ui5_cl_srtti_typedescr.
2222
DATA xstring TYPE xstring.
23-
DATA srtti2 TYPE REF TO zcl_srtti_typedescr.
23+
DATA srtti2 TYPE REF TO z2ui5_cl_srtti_typedescr.
2424
DATA temp1 TYPE REF TO cl_abap_datadescr.
2525
DATA rtti2 LIKE temp1.
2626
DATA ref_variable2 TYPE REF TO data.
@@ -29,7 +29,7 @@ CLASS zcl_srtti_aunit IMPLEMENTATION.
2929

3030
rtti1 = cl_abap_typedescr=>describe_by_data( <variable1> ).
3131

32-
srtti1 = zcl_srtti_typedescr=>create_by_data_object( <variable1> ).
32+
srtti1 = z2ui5_cl_srtti_typedescr=>create_by_data_object( <variable1> ).
3333

3434
CALL TRANSFORMATION id
3535
SOURCE srtti = srtti1
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
44
<asx:values>
55
<VSEOCLASS>
6-
<CLSNAME>ZCL_SRTTI_AUNIT</CLSNAME>
6+
<CLSNAME>Z2UI5_CL_SRTTI_AUNIT</CLSNAME>
77
<LANGU>E</LANGU>
88
<DESCRIPT>Test class</DESCRIPT>
99
<CATEGORY>05</CATEGORY>
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"! <p class="shorttext synchronized" lang="en">Serializable RTTI class</p>
2-
CLASS zcl_srtti_classdescr DEFINITION
2+
CLASS z2ui5_cl_srtti_classdescr DEFINITION
33
PUBLIC
4-
INHERITING FROM zcl_srtti_objectdescr
4+
INHERITING FROM z2ui5_cl_srtti_objectdescr
55
CREATE PUBLIC.
66

77
PUBLIC SECTION.
@@ -17,7 +17,7 @@ CLASS zcl_srtti_classdescr DEFINITION
1717
ENDCLASS.
1818

1919

20-
CLASS zcl_srtti_classdescr IMPLEMENTATION.
20+
CLASS z2ui5_cl_srtti_classdescr IMPLEMENTATION.
2121
METHOD constructor.
2222
super->constructor( rtti ).
2323
class_kind = rtti->class_kind.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
44
<asx:values>
55
<VSEOCLASS>
6-
<CLSNAME>ZCL_SRTTI_CLASSDESCR</CLSNAME>
6+
<CLSNAME>Z2UI5_CL_SRTTI_CLASSDESCR</CLSNAME>
77
<LANGU>E</LANGU>
88
<DESCRIPT>Serializable RTTI class</DESCRIPT>
99
<STATE>1</STATE>
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"! <p class="shorttext synchronized" lang="en">Serializable RTTI complex type</p>
2-
CLASS zcl_srtti_complexdescr DEFINITION
2+
CLASS z2ui5_cl_srtti_complexdescr DEFINITION
33
PUBLIC
4-
INHERITING FROM zcl_srtti_datadescr
4+
INHERITING FROM z2ui5_cl_srtti_datadescr
55
CREATE PUBLIC .
66

77
PUBLIC SECTION.
@@ -11,5 +11,5 @@ ENDCLASS.
1111

1212

1313

14-
CLASS zcl_srtti_complexdescr IMPLEMENTATION.
14+
CLASS z2ui5_cl_srtti_complexdescr IMPLEMENTATION.
1515
ENDCLASS.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
44
<asx:values>
55
<VSEOCLASS>
6-
<CLSNAME>ZCL_SRTTI_COMPLEXDESCR</CLSNAME>
6+
<CLSNAME>Z2UI5_CL_SRTTI_COMPLEXDESCR</CLSNAME>
77
<LANGU>E</LANGU>
88
<DESCRIPT>Serializable RTTI complex type</DESCRIPT>
99
<STATE>1</STATE>
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"! <p class="shorttext synchronized" lang="en">Serializable RTTI data object</p>
2-
CLASS zcl_srtti_datadescr DEFINITION
2+
CLASS z2ui5_cl_srtti_datadescr DEFINITION
33
PUBLIC
4-
INHERITING FROM zcl_srtti_typedescr
4+
INHERITING FROM z2ui5_cl_srtti_typedescr
55
CREATE PUBLIC .
66

77
PUBLIC SECTION.
@@ -11,5 +11,5 @@ ENDCLASS.
1111

1212

1313

14-
CLASS zcl_srtti_datadescr IMPLEMENTATION.
14+
CLASS z2ui5_cl_srtti_datadescr IMPLEMENTATION.
1515
ENDCLASS.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
44
<asx:values>
55
<VSEOCLASS>
6-
<CLSNAME>ZCL_SRTTI_DATADESCR</CLSNAME>
6+
<CLSNAME>Z2UI5_CL_SRTTI_DATADESCR</CLSNAME>
77
<LANGU>E</LANGU>
88
<DESCRIPT>Serializable RTTI data object</DESCRIPT>
99
<STATE>1</STATE>

0 commit comments

Comments
 (0)