mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 00:20:54 +07:00
18 lines
246 B
Java
18 lines
246 B
Java
import org.checkerframework.checker.tainting.qual.*;
|
|
|
|
class Simple {
|
|
|
|
String a(String str) {
|
|
return str + "";
|
|
}
|
|
|
|
void test() {
|
|
@Untainted String s;
|
|
s = a<caret>(foo());
|
|
}
|
|
|
|
@Untainted
|
|
String foo() {
|
|
return "safe";
|
|
}
|
|
} |