7145caca40
Before this commit, we had effective visibility as a part of FIR status, so it was integrated into the full pipeline. In this commit, we introduced "effective visibility as a service" which is now used only by exposed visibility checker. This allows us to make the thing universal for all FIR nodes, including nodes for Java / deserialized.
22 lines
432 B
Kotlin
Vendored
22 lines
432 B
Kotlin
Vendored
// FILE: ExceptionTracker.kt
|
|
|
|
interface ExceptionTracker : <!EXPOSED_SUPER_INTERFACE!>LockBasedStorageManager.ExceptionHandlingStrategy<!> {
|
|
}
|
|
|
|
// FILE: StorageManager.kt
|
|
|
|
interface StorageManager : ExceptionTracker {
|
|
fun foo()
|
|
}
|
|
|
|
// FILE: LockBasedStorageManager.java
|
|
|
|
class LockBasedStorageManager extends StorageManager {
|
|
interface ExceptionHandlingStrategy {
|
|
void bar();
|
|
}
|
|
|
|
@Override
|
|
void foo() {}
|
|
}
|