Run psi check on light classes from compiled Kotlin

This commit is contained in:
Nikolay Krasko
2015-11-05 16:16:32 +03:00
parent 9e0ec80c6a
commit 2ff0b13808
23 changed files with 375 additions and 67 deletions
@@ -9,7 +9,4 @@ public interface Generic <N, NN> {
@org.jetbrains.annotations.Nullable
NN b1(@org.jetbrains.annotations.Nullable NN nn);
final class DefaultImpls {
}
}
@@ -1,5 +1,5 @@
public interface Primitives {
int $$int /* Real name is 'int' */(int x);
int $$int /* Real name is 'int' */(int i);
@org.jetbrains.annotations.Nullable
java.lang.Boolean getNullableBool();
@@ -40,7 +40,4 @@ public interface Primitives {
float getFloat();
double getDouble();
final class DefaultImpls {
}
}
@@ -1,7 +1,7 @@
// Primitives
interface Primitives {
fun int(x: Int): Int
fun int(i: Int): Int
val nullableBool: Boolean?
val nullableByte: Byte?
@@ -1,6 +1,6 @@
// PrivateInClass
class PrivateInClass private (g: String?) {
class PrivateInClass private constructor (g: String?) {
private var nn: String
get() = ""
set(value) {}
@@ -1,9 +1,9 @@
public interface Trait {
@org.jetbrains.annotations.NotNull
java.lang.String notNull(@org.jetbrains.annotations.NotNull java.lang.String a);
java.lang.String notNull(@org.jetbrains.annotations.NotNull java.lang.String p);
@org.jetbrains.annotations.Nullable
java.lang.String nullable(@org.jetbrains.annotations.Nullable java.lang.String a);
java.lang.String nullable(@org.jetbrains.annotations.Nullable java.lang.String p);
@org.jetbrains.annotations.NotNull
java.lang.String notNullWithNN();
@@ -34,7 +34,4 @@ public interface Trait {
java.lang.String getNotNullVar();
void setNotNullVar(@org.jetbrains.annotations.NotNull java.lang.String p);
final class DefaultImpls {
}
}
@@ -4,8 +4,8 @@ import org.jetbrains.annotations.NotNull
import org.jetbrains.annotations.Nullable
interface Trait {
fun notNull(a: String): String
fun nullable(a: String?): String?
fun notNull(p: String): String
fun nullable(p: String?): String?
@NotNull fun notNullWithNN(): String
@Nullable fun notNullWithN(): String
@@ -22,7 +22,4 @@ public interface TraitClassObjectField {
private Companion() { /* compiled code */ }
}
final class DefaultImpls {
}
}