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

79 lines
1.6 KiB
Plaintext
Vendored

package deprecated;
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
/**
* public final annotation class deprecated/Anno : kotlin/Annotation {
*
* // signature: <init>()V
* public constructor()
*
* // module name: main
* }
*/
@kotlin.Metadata()
@java.lang.Deprecated()
public abstract @interface Anno {
}
////////////////////
package deprecated;
@Anno()
/**
* public final class deprecated/Foo : kotlin/Any {
*
* // signature: <init>()V
* public constructor()
*
* // signature: foo(I)V
* public final fun foo(a: kotlin/Int): kotlin/Unit
*
* // getter: getFoo()I
* // setter: setFoo(I)V
* public final var foo: kotlin/Int
* public final (* non-default *) get
* public final (* non-default *) set(value: kotlin/Int)
*
* // field: prop:I
* // getter: getProp()I
* // synthetic method for annotations: getProp$annotations()V
* public final val prop: kotlin/Int (* = ... *)
* public final get
*
* // module name: main
* }
*/
@kotlin.Metadata()
@java.lang.Deprecated()
public final class Foo {
@java.lang.Deprecated()
private final int prop = 0;
public Foo() {
super();
}
@java.lang.Deprecated()
public final void foo(int a) {
}
@java.lang.Deprecated()
public final int getProp() {
return 0;
}
@java.lang.Deprecated()
public static void getProp$annotations() {
}
@java.lang.Deprecated()
public final int getFoo() {
return 0;
}
@java.lang.Deprecated()
public final void setFoo(int value) {
}
}