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

53 lines
966 B
Plaintext
Vendored

package test;
/**
* public abstract class test/A : kotlin/Any {
*
* // signature: <init>(Ljava/lang/String;)V
* public constructor(s: kotlin/String)
*
* // field: s:Ljava/lang/String;
* // getter: getS()Ljava/lang/String;
* public final val s: kotlin/String
* public final get
*
* // module name: main
* }
*/
@kotlin.Metadata()
public abstract class A {
@org.jetbrains.annotations.NotNull()
private final java.lang.String s = null;
public A(@org.jetbrains.annotations.NotNull()
java.lang.String s) {
super();
}
@org.jetbrains.annotations.NotNull()
public final java.lang.String getS() {
return null;
}
}
////////////////////
package test;
/**
* public final class test/B : test/A {
*
* // signature: <init>()V
* public constructor()
*
* // module name: main
* }
*/
@kotlin.Metadata()
public final class B extends test.A {
public B() {
super(null);
}
}