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 // WITH_RUNTIME
19 // TEST PROCESSOR: ClassKindsProcessor
20 // EXPECTED:
21 // JA: ANNOTATION_CLASS
22 // JC: CLASS
23 // JE.ENTRY: ENUM_ENTRY
24 // JE: ENUM_CLASS
25 // JI: INTERFACE
26 // KA: ANNOTATION_CLASS
27 // KC: CLASS
28 // KE.ENTRY: ENUM_ENTRY
29 // KE: ENUM_CLASS
30 // KI: INTERFACE
31 // KO: OBJECT
32 // kotlin.Annotation: INTERFACE
33 // kotlin.Any: CLASS
34 // kotlin.Deprecated: ANNOTATION_CLASS
35 // kotlin.DeprecationLevel.WARNING: ENUM_ENTRY
36 // kotlin.DeprecationLevel: ENUM_CLASS
37 // kotlin.Double.Companion: OBJECT
38 // END
39
40 // FILE: K.kt
41 class KC
42 interface KI
43 annotation class KA
44 object KO
45 enum class KE {
46 ENTRY
47 }
48
49 // FILE: J.java
50 class JC {}
51 interface JI {}
52 @interface JA {}
<lambda>null53 enum JE {
54 ENTRY
55 }
56