472ec72eb9
1. Move tests to their own module 2. Avoid sharing the 'tinyApp' project between tests 3. Clean up option directive handling
21 lines
389 B
Kotlin
Vendored
21 lines
389 B
Kotlin
Vendored
// FILE: javaStaticMethods.kt
|
|
package javaStaticMethods
|
|
|
|
import forTests.javaContext.JavaClass.JavaStatic
|
|
|
|
fun main() {
|
|
//Breakpoint!
|
|
val a = 5
|
|
}
|
|
|
|
// EXPRESSION: JavaStatic.state()
|
|
// RESULT: 1: I
|
|
|
|
// FILE: forTests/javaContext/JavaClass.java
|
|
package forTests.javaContext;
|
|
|
|
public class JavaClass {
|
|
public interface JavaStatic {
|
|
static int state() { return 1; }
|
|
}
|
|
} |