Files
kotlin/compiler/testData/codegen/boxWithJava/enhancedPrimitives/J.java
Denis Zharkov c879f83037 Fix primitive types mapping
Use boxed version if type was enhaced to not-nullable
2016-02-08 16:40:47 +03:00

8 lines
302 B
Java
Vendored

public class J {
// This test checks that although type '@org.jetbrains.annotations.NotNull Integer' is perceived as simple Int,
// it's correctly mapped to 'Lj.l.Integer' by JVM backend
public static String test(@org.jetbrains.annotations.NotNull Integer x) {
return "OK";
}
}