Files
strangepleasures 2423b7b62f [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>
2023-08-17 21:43:54 +00:00

62 lines
1.4 KiB
Plaintext
Vendored

package androidx.annotation;
public interface Box {
@RecentlyNullable()
public String foo();
}
////////////////////
package androidx.annotation;
import java.lang.annotation.*;
@Retention(value = RetentionPolicy.CLASS)
@Target(value = {ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD})
@interface RecentlyNullable {
}
////////////////////
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()
private final androidx.annotation.Box delegate = null;
public KBox(@org.jetbrains.annotations.NotNull()
androidx.annotation.Box delegate) {
super();
}
@org.jetbrains.annotations.NotNull()
public final androidx.annotation.Box getDelegate() {
return null;
}
@java.lang.Override()
@androidx.annotation.RecentlyNullable()
public java.lang.String foo() {
return null;
}
}