mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
13 lines
285 B
Java
13 lines
285 B
Java
// "Unwrap 'do-while' statement (may change semantics)" "true-preview"
|
|
import org.jetbrains.annotations.Contract;
|
|
|
|
class X {
|
|
@Contract("_ -> true")
|
|
boolean test(Object obj) {
|
|
return true;
|
|
}
|
|
|
|
void doSmth(Object obj) {
|
|
System.out.println("aaahh");
|
|
}
|
|
} |