jet.Annotation
Create a supertype for all Kotlin annotations, jet.Annotation. Map java.lang.annotation.Annotation to jet.Annotation and vice versa. Add extension function "annotationType()" to every annotation, similar to java.lang.annotation.Annotation.annotationType() #KT-1620 Fixed
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
namespace jet
|
||||
|
||||
public abstract trait jet.Annotation : jet.Any {
|
||||
}
|
||||
public open class jet.Any {
|
||||
public final /*constructor*/ fun <init>(): jet.Any
|
||||
}
|
||||
@@ -1292,10 +1294,10 @@ public final class jet.Tuple9</*0*/ out T1 : jet.Any?, /*1*/ out T2 : jet.Any?,
|
||||
public final val _8: T8
|
||||
public final val _9: T9
|
||||
}
|
||||
public final annotation class jet.atomic : jet.Any {
|
||||
public final annotation class jet.atomic : jet.Annotation {
|
||||
public final /*constructor*/ fun <init>(): jet.atomic
|
||||
}
|
||||
public final annotation class jet.volatile : jet.Any {
|
||||
public final annotation class jet.volatile : jet.Annotation {
|
||||
public final /*constructor*/ fun <init>(): jet.volatile
|
||||
}
|
||||
public final fun </*0*/ T : jet.Any?>arrayOfNulls(/*0*/ size: jet.Int): jet.Array<T?>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
namespace test
|
||||
|
||||
test.AnnotatedAnnotation() public final annotation class test.AnnotatedAnnotation : jet.Any {
|
||||
test.AnnotatedAnnotation() public final annotation class test.AnnotatedAnnotation : jet.Annotation {
|
||||
public final /*constructor*/ fun <init>(): test.AnnotatedAnnotation
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
namespace test
|
||||
|
||||
public final annotation class test.SimpleAnnotation : jet.Any {
|
||||
public final annotation class test.SimpleAnnotation : jet.Annotation {
|
||||
public final /*constructor*/ fun <init>(): test.SimpleAnnotation
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@ trait TheTrait {
|
||||
}
|
||||
|
||||
//package rendererTest defined in root package
|
||||
//internal final annotation class TheAnnotation defined in rendererTest
|
||||
//internal final annotation class TheAnnotation : jet.Annotation defined in rendererTest
|
||||
//public open class TheClass<out T : jet.Int, X> defined in rendererTest
|
||||
//<out T : jet.Int> defined in rendererTest.TheClass
|
||||
//<X> defined in rendererTest.TheClass
|
||||
|
||||
Reference in New Issue
Block a user