1/** 2 * Copyright (c) 2024 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16import {Anno3, Anno4} from "./annotations_imports" 17 18@interface Anno1 { 19 a: number = 3 20 b: number[] = [13, 9] 21 d: boolean = false 22} 23 24@interface Anno2 { 25 a: number = 5 26 b: number[] = [12, 4] 27 d: boolean = true 28} 29 30@__$$ETS_ANNOTATION$$__Anno1({ 31 a: 20, 32 b: [13, 10], 33 d: true 34}) 35class A { 36 @__$$ETS_ANNOTATION$$__Anno1({ 37 a: 10, 38 b: [1, 2, 3], 39 d: true 40 }) 41 foo() {} 42 @__$$ETS_ANNOTATION$$__Anno1({ 43 a: 5, 44 b: [1, 4] 45 }) 46 bar() {} 47} 48