Member predicate InstanceOfExpr::getLocalVariableDeclExpr
Gets the local variable declaration of this instanceof
expression if simple pattern matching is used.
Note that this won’t get anything when record pattern matching is used– for more general patterns,
use getPattern
.