mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-20 20:20:56 +07:00
17 lines
242 B
Java
17 lines
242 B
Java
import org.checkerframework.checker.tainting.qual.*;
|
|
|
|
class Simple {
|
|
|
|
String field = "safe";
|
|
|
|
void callTest() {
|
|
String s = field;
|
|
test(s);
|
|
}
|
|
|
|
void test(String s) {
|
|
sink(<caret>s);
|
|
}
|
|
|
|
void sink(@Untainted String s) {}
|
|
} |