File tree Expand file tree Collapse file tree 3 files changed +131
-0
lines changed
plugins/kapt/kapt-compiler/testData/converter Expand file tree Collapse file tree 3 files changed +131
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,71 @@ public abstract @interface Anno {
17
17
////////////////////
18
18
19
19
20
+ /**
21
+ * public abstract interface Base : kotlin/Any {
22
+ *
23
+ * // signature: inherited()V
24
+ * public open fun inherited(): kotlin/Unit
25
+ *
26
+ * // module name: main
27
+ *
28
+ * // has method bodies in interface
29
+ *
30
+ * // is compiled in compatibility mode
31
+ * }
32
+ */
33
+ @kotlin.Metadata()
34
+ public abstract interface Base {
35
+
36
+ /**
37
+ * Inherited doc comment.
38
+ */
39
+ public default void inherited() {
40
+ }
41
+
42
+ /**
43
+ * synthetic class
44
+ */
45
+ @kotlin.Metadata()
46
+ public static final class DefaultImpls {
47
+
48
+ /**
49
+ * Inherited doc comment.
50
+ */
51
+ @java.lang.Deprecated()
52
+ public static void inherited(@org.jetbrains.annotations.NotNull()
53
+ Base $this) {
54
+ }
55
+ }
56
+ }
57
+
58
+ ////////////////////
59
+
60
+
61
+ /**
62
+ * public final class Derived : Base {
63
+ *
64
+ * // signature: <init>()V
65
+ * public constructor()
66
+ *
67
+ * // module name: main
68
+ * }
69
+ */
70
+ @kotlin.Metadata()
71
+ public final class Derived implements Base {
72
+
73
+ public Derived() {
74
+ super();
75
+ }
76
+
77
+ @java.lang.Override()
78
+ public void inherited() {
79
+ }
80
+ }
81
+
82
+ ////////////////////
83
+
84
+
20
85
/**
21
86
* public final enum class EnumError : kotlin/Enum<EnumError> {
22
87
*
Original file line number Diff line number Diff line change @@ -65,3 +65,10 @@ enum class EnumError {
65
65
* `/* Failure */`
66
66
*/
67
67
interface TestComponent
68
+
69
+ interface Base {
70
+ /* * Inherited doc comment. */
71
+ fun inherited () {}
72
+ }
73
+
74
+ class Derived : Base
Original file line number Diff line number Diff line change @@ -17,6 +17,65 @@ public abstract @interface Anno {
17
17
////////////////////
18
18
19
19
20
+ /**
21
+ * public abstract interface Base : kotlin/Any {
22
+ *
23
+ * // signature: inherited()V
24
+ * public open fun inherited(): kotlin/Unit
25
+ *
26
+ * // module name: main
27
+ * }
28
+ */
29
+ @kotlin.Metadata()
30
+ public abstract interface Base {
31
+
32
+ /**
33
+ * Inherited doc comment.
34
+ */
35
+ public abstract void inherited();
36
+
37
+ /**
38
+ * synthetic class
39
+ */
40
+ @kotlin.Metadata()
41
+ public static final class DefaultImpls {
42
+
43
+ /**
44
+ * Inherited doc comment.
45
+ */
46
+ public static void inherited(@org.jetbrains.annotations.NotNull()
47
+ Base $this) {
48
+ }
49
+ }
50
+ }
51
+
52
+ ////////////////////
53
+
54
+
55
+ /**
56
+ * public final class Derived : Base {
57
+ *
58
+ * // signature: <init>()V
59
+ * public constructor()
60
+ *
61
+ * // module name: main
62
+ * }
63
+ */
64
+ @kotlin.Metadata()
65
+ public final class Derived implements Base {
66
+
67
+ public Derived() {
68
+ super();
69
+ }
70
+
71
+ @java.lang.Override()
72
+ public void inherited() {
73
+ }
74
+ }
75
+
76
+ ////////////////////
77
+
78
+
20
79
/**
21
80
* public final enum class EnumError : kotlin/Enum<EnumError> {
22
81
*
You can’t perform that action at this time.
0 commit comments