Pattern variable can be used: support more narrow casts — IntelliJ IDEA feature request — Has it shipped?