boolean (DfaValue variable) { if (!(variable instanceof DfaVariableValue)) return false; PsiElement owner = ((DfaVariableValue)variable).getPsiVariable(); return owner == myParameter || owner != null && PsiTreeUtil.isAncestor(myBlock, owner, false); }