mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-21 13:20:56 +07:00
14 lines
356 B
Kotlin
14 lines
356 B
Kotlin
@file:Suppress("UNUSED_PARAMETER")
|
|
|
|
import org.checkerframework.checker.tainting.qual.Tainted
|
|
import org.checkerframework.checker.tainting.qual.Untainted
|
|
|
|
class LocalCheck {
|
|
fun test(clean: @Untainted String = <warning descr="Unsafe string is used as safe parameter">dirty()</warning>) {
|
|
}
|
|
|
|
private fun dirty(): @Tainted String {
|
|
return ""
|
|
}
|
|
}
|