mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
9 lines
247 B
Java
9 lines
247 B
Java
import org.jetbrains.annotations.Contract;
|
|
|
|
public class C {
|
|
@Contract(value = "_, null, _ -> param1; _, !null, _ -> param2", pure = true)
|
|
public static String test(String a, String b, String c) {
|
|
return b == null ? a : b;
|
|
}
|
|
}
|