[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
@@ -1,3 +1,50 @@
|
||||
/**
|
||||
* public final class MyList<out T#0 (* T *) : kotlin/Any> : kotlin/collections/List<T#0> {
|
||||
*
|
||||
* // signature: <init>(Ljava/util/List;)V
|
||||
* public constructor(wrappedList: kotlin/collections/List<T#0>)
|
||||
*
|
||||
* // signature: contains(Ljava/lang/Object;)Z
|
||||
* public open (* delegation *) operator fun contains(element: T#0): kotlin/Boolean
|
||||
*
|
||||
* // signature: containsAll(Ljava/util/Collection;)Z
|
||||
* public open (* delegation *) fun containsAll(elements: kotlin/collections/Collection<T#0>): kotlin/Boolean
|
||||
*
|
||||
* // signature: get(I)Ljava/lang/Object;
|
||||
* public open (* delegation *) operator fun get(index: kotlin/Int): T#0
|
||||
*
|
||||
* // signature: indexOf(Ljava/lang/Object;)I
|
||||
* public open (* delegation *) fun indexOf(element: T#0): kotlin/Int
|
||||
*
|
||||
* // signature: isEmpty()Z
|
||||
* public open (* delegation *) fun isEmpty(): kotlin/Boolean
|
||||
*
|
||||
* // signature: iterator()Ljava/util/Iterator;
|
||||
* public open (* delegation *) operator fun iterator(): kotlin/collections/Iterator<T#0>
|
||||
*
|
||||
* // signature: lastIndexOf(Ljava/lang/Object;)I
|
||||
* public open (* delegation *) fun lastIndexOf(element: T#0): kotlin/Int
|
||||
*
|
||||
* // signature: listIterator()Ljava/util/ListIterator;
|
||||
* public open (* delegation *) fun listIterator(): kotlin/collections/ListIterator<T#0>
|
||||
*
|
||||
* // signature: listIterator(I)Ljava/util/ListIterator;
|
||||
* public open (* delegation *) fun listIterator(index: kotlin/Int): kotlin/collections/ListIterator<T#0>
|
||||
*
|
||||
* // signature: subList(II)Ljava/util/List;
|
||||
* public open (* delegation *) fun subList(fromIndex: kotlin/Int, toIndex: kotlin/Int): kotlin/collections/List<T#0>
|
||||
*
|
||||
* // getter: getSize()I
|
||||
* public open (* delegation *) val size: kotlin/Int
|
||||
* public open get
|
||||
*
|
||||
* // field: wrappedList:Ljava/util/List;
|
||||
* private final val wrappedList: kotlin/collections/List<T#0>
|
||||
* private final get
|
||||
*
|
||||
* // module name: main
|
||||
* }
|
||||
*/
|
||||
@kotlin.Metadata()
|
||||
public final class MyList<T extends java.lang.Object> implements java.util.List<T>, kotlin.jvm.internal.markers.KMappedMarker {
|
||||
private final java.util.List<T> wrappedList = null;
|
||||
|
||||
Reference in New Issue
Block a user