Files
Georgii Ustinov 0ee266b325 Get rid of resolver in Java Formatter
IDEA-235747

GitOrigin-RevId: b085d98a222ffdf93f46ff9ec75ee7a351b9ee01
2023-12-04 09:06:58 +00:00

20 lines
285 B
Java

import org.checkerframework.checker.tainting.qual.*;
class Simple {
void test() {
String s = foo();
sink(<caret>s);
}
@Untainted
String foo() {
return source();
}
@Tainted String source() {
return "unsafe";
}
void sink(@Untainted String s) {}
}