13af6ab5fSopenharmony_ci{ 23af6ab5fSopenharmony_ci "copyright": [ 33af6ab5fSopenharmony_ci "Copyright (c) 2024 Huawei Device Co., Ltd.", 43af6ab5fSopenharmony_ci "Licensed under the Apache License, Version 2.0 (the 'License');", 53af6ab5fSopenharmony_ci "you may not use this file except in compliance with the License.", 63af6ab5fSopenharmony_ci "You may obtain a copy of the License at", 73af6ab5fSopenharmony_ci "", 83af6ab5fSopenharmony_ci "http://www.apache.org/licenses/LICENSE-2.0", 93af6ab5fSopenharmony_ci "", 103af6ab5fSopenharmony_ci "Unless required by applicable law or agreed to in writing, software", 113af6ab5fSopenharmony_ci "distributed under the License is distributed on an 'AS IS' BASIS,", 123af6ab5fSopenharmony_ci "WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.", 133af6ab5fSopenharmony_ci "See the License for the specific language governing permissions and", 143af6ab5fSopenharmony_ci "limitations under the License." 153af6ab5fSopenharmony_ci ], 163af6ab5fSopenharmony_ci "nodes": [ 173af6ab5fSopenharmony_ci { 183af6ab5fSopenharmony_ci "line": 18, 193af6ab5fSopenharmony_ci "column": 9, 203af6ab5fSopenharmony_ci "problem": "ParameterProperties", 213af6ab5fSopenharmony_ci "autofixable": true, 223af6ab5fSopenharmony_ci "autofix": [ 233af6ab5fSopenharmony_ci { 243af6ab5fSopenharmony_ci "start": 624, 253af6ab5fSopenharmony_ci "end": 624, 263af6ab5fSopenharmony_ci "replacementText": "protected ssn: string;\nprivate firstName: string;\nprivate lastName: string;\n" 273af6ab5fSopenharmony_ci }, 283af6ab5fSopenharmony_ci { 293af6ab5fSopenharmony_ci "start": 645, 303af6ab5fSopenharmony_ci "end": 666, 313af6ab5fSopenharmony_ci "replacementText": "ssn: string" 323af6ab5fSopenharmony_ci }, 333af6ab5fSopenharmony_ci { 343af6ab5fSopenharmony_ci "start": 676, 353af6ab5fSopenharmony_ci "end": 701, 363af6ab5fSopenharmony_ci "replacementText": "firstName: string" 373af6ab5fSopenharmony_ci }, 383af6ab5fSopenharmony_ci { 393af6ab5fSopenharmony_ci "start": 711, 403af6ab5fSopenharmony_ci "end": 735, 413af6ab5fSopenharmony_ci "replacementText": "lastName: string" 423af6ab5fSopenharmony_ci }, 433af6ab5fSopenharmony_ci { 443af6ab5fSopenharmony_ci "start": 742, 453af6ab5fSopenharmony_ci "end": 840, 463af6ab5fSopenharmony_ci "replacementText": "{\n this.ssn = ssn;\n this.firstName = firstName;\n this.lastName = lastName;\n this.ssn = ssn;\n this.firstName = firstName;\n this.lastName = lastName;\n}" 473af6ab5fSopenharmony_ci } 483af6ab5fSopenharmony_ci ], 493af6ab5fSopenharmony_ci "suggest": "", 503af6ab5fSopenharmony_ci "rule": "Declaring fields in \"constructor\" is not supported (arkts-no-ctor-prop-decls)" 513af6ab5fSopenharmony_ci }, 523af6ab5fSopenharmony_ci { 533af6ab5fSopenharmony_ci "line": 19, 543af6ab5fSopenharmony_ci "column": 9, 553af6ab5fSopenharmony_ci "problem": "ParameterProperties", 563af6ab5fSopenharmony_ci "autofix": [ 573af6ab5fSopenharmony_ci { 583af6ab5fSopenharmony_ci "start": 624, 593af6ab5fSopenharmony_ci "end": 624, 603af6ab5fSopenharmony_ci "replacementText": "protected ssn: string;\nprivate firstName: string;\nprivate lastName: string;\n" 613af6ab5fSopenharmony_ci }, 623af6ab5fSopenharmony_ci { 633af6ab5fSopenharmony_ci "start": 645, 643af6ab5fSopenharmony_ci "end": 666, 653af6ab5fSopenharmony_ci "replacementText": "ssn: string" 663af6ab5fSopenharmony_ci }, 673af6ab5fSopenharmony_ci { 683af6ab5fSopenharmony_ci "start": 676, 693af6ab5fSopenharmony_ci "end": 701, 703af6ab5fSopenharmony_ci "replacementText": "firstName: string" 713af6ab5fSopenharmony_ci }, 723af6ab5fSopenharmony_ci { 733af6ab5fSopenharmony_ci "start": 711, 743af6ab5fSopenharmony_ci "end": 735, 753af6ab5fSopenharmony_ci "replacementText": "lastName: string" 763af6ab5fSopenharmony_ci }, 773af6ab5fSopenharmony_ci { 783af6ab5fSopenharmony_ci "start": 742, 793af6ab5fSopenharmony_ci "end": 840, 803af6ab5fSopenharmony_ci "replacementText": "{\n this.ssn = ssn;\n this.firstName = firstName;\n this.lastName = lastName;\n this.ssn = ssn;\n this.firstName = firstName;\n this.lastName = lastName;\n}" 813af6ab5fSopenharmony_ci } 823af6ab5fSopenharmony_ci ], 833af6ab5fSopenharmony_ci "suggest": "", 843af6ab5fSopenharmony_ci "rule": "Declaring fields in \"constructor\" is not supported (arkts-no-ctor-prop-decls)" 853af6ab5fSopenharmony_ci }, 863af6ab5fSopenharmony_ci { 873af6ab5fSopenharmony_ci "line": 20, 883af6ab5fSopenharmony_ci "column": 9, 893af6ab5fSopenharmony_ci "problem": "ParameterProperties", 903af6ab5fSopenharmony_ci "autofix": [ 913af6ab5fSopenharmony_ci { 923af6ab5fSopenharmony_ci "start": 624, 933af6ab5fSopenharmony_ci "end": 624, 943af6ab5fSopenharmony_ci "replacementText": "protected ssn: string;\nprivate firstName: string;\nprivate lastName: string;\n" 953af6ab5fSopenharmony_ci }, 963af6ab5fSopenharmony_ci { 973af6ab5fSopenharmony_ci "start": 645, 983af6ab5fSopenharmony_ci "end": 666, 993af6ab5fSopenharmony_ci "replacementText": "ssn: string" 1003af6ab5fSopenharmony_ci }, 1013af6ab5fSopenharmony_ci { 1023af6ab5fSopenharmony_ci "start": 676, 1033af6ab5fSopenharmony_ci "end": 701, 1043af6ab5fSopenharmony_ci "replacementText": "firstName: string" 1053af6ab5fSopenharmony_ci }, 1063af6ab5fSopenharmony_ci { 1073af6ab5fSopenharmony_ci "start": 711, 1083af6ab5fSopenharmony_ci "end": 735, 1093af6ab5fSopenharmony_ci "replacementText": "lastName: string" 1103af6ab5fSopenharmony_ci }, 1113af6ab5fSopenharmony_ci { 1123af6ab5fSopenharmony_ci "start": 742, 1133af6ab5fSopenharmony_ci "end": 840, 1143af6ab5fSopenharmony_ci "replacementText": "{\n this.ssn = ssn;\n this.firstName = firstName;\n this.lastName = lastName;\n this.ssn = ssn;\n this.firstName = firstName;\n this.lastName = lastName;\n}" 1153af6ab5fSopenharmony_ci } 1163af6ab5fSopenharmony_ci ], 1173af6ab5fSopenharmony_ci "suggest": "", 1183af6ab5fSopenharmony_ci "rule": "Declaring fields in \"constructor\" is not supported (arkts-no-ctor-prop-decls)" 1193af6ab5fSopenharmony_ci } 1203af6ab5fSopenharmony_ci ] 1213af6ab5fSopenharmony_ci}