Do not annotate private members and their parameters (to save space)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
public final class PrivateInClass implements jet.JetObject {
|
||||
private final java.lang.String nn = "";
|
||||
private final java.lang.String n = "";
|
||||
|
||||
private final java.lang.String getNn() { /* compiled code */ }
|
||||
|
||||
private final java.lang.String getN() { /* compiled code */ }
|
||||
|
||||
private final java.lang.String bar(@jet.runtime.typeinfo.JetValueParameter(name = "a") java.lang.String p, @jet.runtime.typeinfo.JetValueParameter(name = "b", type = "?") java.lang.String p1) { /* compiled code */ }
|
||||
|
||||
private PrivateInClass(@jet.runtime.typeinfo.JetValueParameter(name = "s", type = "?") java.lang.String p) { /* compiled code */ }
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
class PrivateInClass private (s: String?) {
|
||||
private val nn: String = ""
|
||||
private val n: String? = ""
|
||||
private fun bar(a: String, b: String?): String? = null
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
public interface PrivateInTrait extends jet.JetObject {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
java.lang.String getNn();
|
||||
|
||||
@org.jetbrains.annotations.Nullable
|
||||
java.lang.String getN();
|
||||
|
||||
@org.jetbrains.annotations.Nullable
|
||||
java.lang.String bar(@org.jetbrains.annotations.NotNull @jet.runtime.typeinfo.JetValueParameter(name = "a") java.lang.String p, @org.jetbrains.annotations.Nullable @jet.runtime.typeinfo.JetValueParameter(name = "b", type = "?") java.lang.String p1);
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
trait PrivateInTrait {
|
||||
private val nn: String
|
||||
private val n: String?
|
||||
private fun bar(a: String, b: String?): String?
|
||||
}
|
||||
@@ -1,5 +1,4 @@
|
||||
public final class Synthetic implements jet.JetObject {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final void foo() { /* compiled code */ }
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
|
||||
@@ -59,4 +59,13 @@ public final class _DefaultPackage {
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static final void setNullableVarWithGetSet(@org.jetbrains.annotations.Nullable @jet.runtime.typeinfo.JetValueParameter(name = "v", type = "?") java.lang.String p) { /* compiled code */ }
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static final java.lang.String getPrivateNn() { /* compiled code */ }
|
||||
|
||||
@org.jetbrains.annotations.Nullable
|
||||
public static final java.lang.String getPrivateN() { /* compiled code */ }
|
||||
|
||||
@org.jetbrains.annotations.Nullable
|
||||
public static final java.lang.String privateFun(@org.jetbrains.annotations.NotNull @jet.runtime.typeinfo.JetValueParameter(name = "a") java.lang.String p, @org.jetbrains.annotations.Nullable @jet.runtime.typeinfo.JetValueParameter(name = "b", type = "?") java.lang.String p1) { /* compiled code */ }
|
||||
}
|
||||
@@ -27,4 +27,8 @@ val nullableValWithGet: String?
|
||||
|
||||
var nullableVarWithGetSet: String?
|
||||
[NotNull] get() = ""
|
||||
[NotNull] set(v) {}
|
||||
[NotNull] set(v) {}
|
||||
|
||||
private val privateNn: String = ""
|
||||
private val privateN: String? = ""
|
||||
private fun privateFun(a: String, b: String?): String? = null
|
||||
Reference in New Issue
Block a user