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

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

19 lines
263 B
Java

import org.checkerframework.checker.tainting.qual.*;
class Simple {
@Untainted
String field = "safe";
void test() {
String s = foo();
sink(s);
}
@Untainted
String foo() {
return field;
}
void sink(@Untainted String s) {}
}