[KAPT4] KT-51982 Implement generation of @Metadata annotations in Java stubs
Also adds rendering of @Metadata annotations in Kapt3 and Kapt4 tests (currently disabled for a few tests). Co-authored-by: Alexander Udalov <alexander.udalov@jetbrains.com>
This commit is contained in:
committed by
Space Team
parent
f40fc1b0c6
commit
2423b7b62f
+24
@@ -1,3 +1,12 @@
|
||||
/**
|
||||
* public final class AnotherRootClass : kotlin/Any {
|
||||
*
|
||||
* // signature: <init>()V
|
||||
* public constructor()
|
||||
*
|
||||
* // module name: main
|
||||
* }
|
||||
*/
|
||||
@kotlin.Metadata()
|
||||
public final class AnotherRootClass {
|
||||
|
||||
@@ -9,6 +18,15 @@ public final class AnotherRootClass {
|
||||
////////////////////
|
||||
|
||||
|
||||
/**
|
||||
* public final class RootClass : kotlin/Any {
|
||||
*
|
||||
* // signature: <init>()V
|
||||
* public constructor()
|
||||
*
|
||||
* // module name: main
|
||||
* }
|
||||
*/
|
||||
@kotlin.Metadata()
|
||||
public final class RootClass {
|
||||
|
||||
@@ -21,6 +39,12 @@ public final class RootClass {
|
||||
|
||||
package test;
|
||||
|
||||
/**
|
||||
* multi-file class {
|
||||
* // test/M1__BKt
|
||||
* // test/M1__CKt
|
||||
* }
|
||||
*/
|
||||
@kotlin.Metadata()
|
||||
public final class M1 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user