mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 07:57:19 +07:00
GitOrigin-RevId: 137171dd7aade275974ab7a177d92f0d00825af7
9 lines
236 B
Java
9 lines
236 B
Java
import org.jetbrains.annotations.*;
|
|
|
|
public class DereferenceInThrowMessage {
|
|
void test(@Nullable Object obj) {
|
|
if (obj != null && obj.hashCode() == 0) {
|
|
throw new RuntimeException("Hashcode: " + obj.hashCode());
|
|
}
|
|
}
|
|
} |