[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:
strangepleasures
2023-07-31 23:09:08 +02:00
committed by Space Team
parent f40fc1b0c6
commit 2423b7b62f
250 changed files with 15438 additions and 81 deletions
@@ -21,6 +21,23 @@ import java.lang.annotation.*;
package app;
/**
* public final class app/KBox : androidx/annotation/Box {
*
* // signature: <init>(Landroidx/annotation/Box;)V
* public constructor(delegate: androidx/annotation/Box)
*
* // signature: foo()Ljava/lang/String;
* public open (* delegation *) fun foo(): kotlin/String!
*
* // field: delegate:Landroidx/annotation/Box;
* // getter: getDelegate()Landroidx/annotation/Box;
* public final val delegate: androidx/annotation/Box
* public final get
*
* // module name: main
* }
*/
@kotlin.Metadata()
public final class KBox implements androidx.annotation.Box {
@org.jetbrains.annotations.NotNull()