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,2 @@
public @interface Ann {
}
@@ -0,0 +1,3 @@
public class JavaClass {
public String foo() { return null; }
}
@@ -0,0 +1,4 @@
@Ann
public class JavaClass {
public String foo() { return null; }
}
@@ -0,0 +1,20 @@
================ Step #1 =================
Cleaning output files:
out/production/module/JavaClass.class
End of files
Exit code: NOTHING_DONE
------------------------------------------
Compiling files:
src/JavaClass.java
End of files
Cleaning output files:
out/production/module/META-INF/module.kotlin_module
out/production/module/UsageKt.class
End of files
Compiling files:
src/usage.kt
End of files
Exit code: ABORT
------------------------------------------
SUCCESS
@@ -0,0 +1,3 @@
fun bar() {
JavaClass().foo()
}
@@ -0,0 +1,3 @@
public class JavaClass {
public String foo() { return null; }
}
@@ -0,0 +1,5 @@
public class JavaClass {
public String foo() { return null; }
public static class Nested {
}
}
@@ -0,0 +1,21 @@
================ Step #1 =================
Cleaning output files:
out/production/module/JavaClass.class
End of files
Exit code: NOTHING_DONE
------------------------------------------
Compiling files:
src/JavaClass.java
End of files
Cleaning output files:
out/production/module/META-INF/module.kotlin_module
out/production/module/UsageKt.class
End of files
Compiling files:
src/usage.kt
End of files
Exit code: ABORT
------------------------------------------
COMPILATION FAILED
Unresolved reference: Nested
@@ -0,0 +1,22 @@
================ Step #1 =================
Cleaning output files:
out/production/module/JavaClass.class
End of files
Exit code: NOTHING_DONE
------------------------------------------
Compiling files:
src/JavaClass.java
End of files
Cleaning output files:
out/production/module/META-INF/module.kotlin_module
out/production/module/UsageKt.class
End of files
Compiling files:
src/notUsage.kt
src/usage.kt
End of files
Exit code: ABORT
------------------------------------------
COMPILATION FAILED
Unresolved reference: Nested
@@ -0,0 +1,5 @@
import test.*
fun foo(x: Nested) {
JavaClass().foo()
}
@@ -0,0 +1,3 @@
package test
class Nested
@@ -0,0 +1,6 @@
import test.*
import JavaClass.*
fun bar(x: Nested) {
JavaClass().foo()
}
@@ -0,0 +1,3 @@
public @interface Ann {
String value() default "1";
}
@@ -0,0 +1,4 @@
@Ann
public class JavaClass {
public String foo() { return null; }
}
@@ -0,0 +1,4 @@
@Ann("")
public class JavaClass {
public String foo() { return null; }
}
@@ -0,0 +1,20 @@
================ Step #1 =================
Cleaning output files:
out/production/module/JavaClass.class
End of files
Exit code: NOTHING_DONE
------------------------------------------
Compiling files:
src/JavaClass.java
End of files
Cleaning output files:
out/production/module/META-INF/module.kotlin_module
out/production/module/UsageKt.class
End of files
Compiling files:
src/usage.kt
End of files
Exit code: ABORT
------------------------------------------
SUCCESS
@@ -0,0 +1,3 @@
fun bar() {
JavaClass().foo()
}
@@ -0,0 +1,3 @@
import inline1.*
fun f() = h()
@@ -0,0 +1,7 @@
package inline1
import inline2.*
fun g() = h()
inline fun h() = root { "OK" }
@@ -0,0 +1,7 @@
package inline1
import inline2.*
fun g() = h() + "!"
inline fun h() = root { "OK" }
@@ -0,0 +1,6 @@
================ Step #1 =================
Compiling files:
src/b.kt
End of files
Exit code: OK
------------------------------------------
@@ -0,0 +1,5 @@
package inline2
inline fun root(crossinline x: () -> String) = object {
fun run() = x()
}.run()
@@ -0,0 +1,3 @@
import inline1.*
fun f() = h()
@@ -0,0 +1,7 @@
package inline1
import inline2.*
fun g() = root()
inline fun h() = root()
@@ -0,0 +1,7 @@
package inline1
import inline2.*
fun g() = root() + "!"
inline fun h() = root()
@@ -0,0 +1,6 @@
================ Step #1 =================
Compiling files:
src/b.kt
End of files
Exit code: OK
------------------------------------------
@@ -0,0 +1,3 @@
package inline2
inline fun root() = "OK"