1 /* 2 * Copyright 2020 Google LLC 3 * Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors. 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); 6 * you may not use this file except in compliance with the License. 7 * You may obtain a copy of the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, 13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 * See the License for the specific language governing permissions and 15 * limitations under the License. 16 */ 17 18 // TEST PROCESSOR: MapSignatureProcessor 19 // EXPECTED: 20 // LCls; 21 // a: I 22 // foo: ()Ljava/lang/String; 23 // <init>: ()V 24 // LJavaIntefaceWithVoid; 25 // getVoid: ()Ljava/lang/Void; 26 // LJavaClass; 27 // <init>: ()V 28 // LJavaAnno; 29 // intParam: I 30 // <init>: (I)V 31 // END 32 33 // FILE: Cls.kt 34 class Cls { 35 val a: Int = 1 36 foonull37 fun foo(): String { return "1" } 38 } 39 40 // FILE: JavaIntefaceWithVoid.java 41 interface JavaIntefaceWithVoid { 42 Void getVoid(); 43 } 44 45 // FILE: JavaClass.java 46 class JavaClass { 47 JavaClass() {} 48 } 49 50 // FILE: JavaAnno.java 51 @interface JavaAnno { 52 int intParam(); 53 } 54