JVM: no nullability annotations on private and synthetic fields
This commit is contained in:
@@ -1,11 +1,7 @@
|
||||
public final class Class {
|
||||
@org.jetbrains.annotations.Nullable
|
||||
private final java.lang.String nullableVal;
|
||||
@org.jetbrains.annotations.Nullable
|
||||
private java.lang.String nullableVar;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final java.lang.String notNullVal;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private java.lang.String notNullVar;
|
||||
private final java.lang.String privateNN;
|
||||
private final java.lang.String privateN;
|
||||
@@ -69,4 +65,4 @@ public final class Class {
|
||||
public final void setNullableVarWithGetSet(@org.jetbrains.annotations.Nullable java.lang.String v) { /* compiled code */ }
|
||||
|
||||
public Class() { /* compiled code */ }
|
||||
}
|
||||
}
|
||||
-1
@@ -1,5 +1,4 @@
|
||||
public final class ClassObjectField {
|
||||
@org.jetbrains.annotations.Nullable
|
||||
private static final java.lang.String x;
|
||||
private static final java.lang.String y;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
|
||||
Vendored
+1
-3
@@ -1,7 +1,5 @@
|
||||
public final class ClassWithConstructorAndProperties {
|
||||
@org.jetbrains.annotations.Nullable
|
||||
private final java.lang.String nullable;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final java.lang.String notNull;
|
||||
|
||||
@org.jetbrains.annotations.Nullable
|
||||
@@ -11,4 +9,4 @@ public final class ClassWithConstructorAndProperties {
|
||||
public final java.lang.String getNotNull() { /* compiled code */ }
|
||||
|
||||
public ClassWithConstructorAndProperties(@org.jetbrains.annotations.Nullable java.lang.String nullable, @org.jetbrains.annotations.NotNull java.lang.String notNull) { /* compiled code */ }
|
||||
}
|
||||
}
|
||||
@@ -1,11 +1,7 @@
|
||||
public final class FileFacadeKt {
|
||||
@org.jetbrains.annotations.Nullable
|
||||
private static final java.lang.String nullableVal;
|
||||
@org.jetbrains.annotations.Nullable
|
||||
private static java.lang.String nullableVar;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final java.lang.String notNullVal;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static java.lang.String notNullVar;
|
||||
private static final java.lang.String privateNn;
|
||||
private static final java.lang.String privateN;
|
||||
|
||||
Reference in New Issue
Block a user