Fix visibility of $annotations methods

This commit is contained in:
Pavel Mikhailovskii
2023-06-12 12:59:53 +00:00
committed by Space Team
parent b4004763cc
commit 46844100d5
5 changed files with 57 additions and 3 deletions
@@ -35,6 +35,24 @@ public static final class Companion /* C.Companion*/ {
public final int getY();// getY()
}
public class O /* O*/ {
private final int protectedProperty = 1 /* initializer type: int */;
@Anno(p = "private")
@java.lang.Deprecated()
private static void getPrivateProperty$annotations();// getPrivateProperty$annotations()
@Anno(p = "protected")
@java.lang.Deprecated()
protected static void getProtectedProperty$annotations();// getProtectedProperty$annotations()
private final int getPrivateProperty();// getPrivateProperty()
protected final int getProtectedProperty();// getProtectedProperty()
public O();// .ctor()
}
public final class PropertyAnnotationsKt /* PropertyAnnotationsKt*/ {
@kotlin.jvm.Transient()
@kotlin.jvm.Volatile()
@@ -26,6 +26,16 @@ public static final class Companion /* C.Companion*/ {
public final int getY();// getY()
}
public class O /* O*/ {
private final int protectedProperty;
private final int getPrivateProperty();// getPrivateProperty()
protected final int getProtectedProperty();// getProtectedProperty()
public O();// .ctor()
}
public final class PropertyAnnotationsKt /* PropertyAnnotationsKt*/ {
@kotlin.jvm.Transient()
@kotlin.jvm.Volatile()
@@ -29,4 +29,12 @@ val <T: Any> @receiver:Anno("receiver") List<T>.extensionProperty: Int
val nullable: String? = null
@Anno("nonNullable")
val nonNullable: String = ""
val nonNullable: String = ""
open class O {
@Anno("private")
private val privateProperty: Int get() = 1
@Anno("protected")
protected val protectedProperty = 1
}
@@ -26,6 +26,16 @@ public static final class Companion /* C.Companion*/ {
public final int getY();// getY()
}
public class O /* O*/ {
private final int protectedProperty;
private final int getPrivateProperty();// getPrivateProperty()
protected final int getProtectedProperty();// getProtectedProperty()
public O();// .ctor()
}
public final class PropertyAnnotationsKt /* PropertyAnnotationsKt*/ {
@org.jetbrains.annotations.NotNull()
private static final java.lang.String nonNullable;