Rename: jps-plugin -> jps/jps-plugin

This commit is contained in:
Nikita Bobko
2021-12-29 19:21:54 +01:00
parent d8f99d8974
commit db7472a376
2317 changed files with 0 additions and 0 deletions
@@ -0,0 +1,7 @@
import org.jetbrains.annotations.Nullable;
class A {
void f(@Nullable String s) {
System.out.println(s);
}
}
@@ -0,0 +1,7 @@
import org.jetbrains.annotations.NotNull;
class A {
void f(@NotNull String s) {
System.out.println(s);
}
}
@@ -0,0 +1,3 @@
internal class AChild : A() {
override fun f(s: String?) {}
}
@@ -0,0 +1,3 @@
internal class AChild : A() {
override fun f(s: String) {}
}
@@ -0,0 +1,39 @@
================ Step #1 =================
Cleaning output files:
out/production/module/A.class
End of files
Exit code: NOTHING_DONE
------------------------------------------
Compiling files:
src/A.java
End of files
Cleaning output files:
out/production/module/AChild.class
out/production/module/META-INF/module.kotlin_module
out/production/module/UseAKt.class
End of files
Compiling files:
src/AChild.kt
src/useA.kt
End of files
Exit code: ABORT
------------------------------------------
COMPILATION FAILED
'f' overrides nothing
Null can not be a value of a non-null type String
================ Step #2 =================
Cleaning output files:
out/production/module/A.class
End of files
Compiling files:
src/AChild.kt
src/useA.kt
End of files
Exit code: OK
------------------------------------------
Compiling files:
src/A.java
End of files
@@ -0,0 +1,3 @@
fun useA() {
A().f(null)
}
@@ -0,0 +1,3 @@
fun useA() {
A().f("useA")
}