// "Wrap using 'Math.toIntExact()'" "true" public class Test { void m() { int i = Math.toIntExact(Long.valueOf(123)); } }