blob: 96356dd21c0915f37c647d9b1ff305e476477b03 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
import org.jetbrains.annotations.Contract;
public class Foo {
public void main(String[] args) {
for (int i = 0; i < 10; i++) {
assertTrue("str", true);
}
}
@Contract("_, false->fail")
void assertTrue(String msg, boolean value) {
}
}
|