mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-20 02:15:59 +07:00
12 lines
288 B
Java
12 lines
288 B
Java
class Test {
|
|
|
|
@org.jetbrains.annotations.Contract("null->false")
|
|
public static boolean smth(Object context) {
|
|
if (someMethodWithUnknownContract(context)) {
|
|
return true;
|
|
}
|
|
return false;
|
|
}
|
|
|
|
private static native boolean someMethodWithUnknownContract(Object o);
|
|
} |