boolean (PsiExpression expr) { if (!expr.isPhysical()) return false; PsiFile file = expr.getContainingFile(); if (!(file instanceof PsiCodeFragment)) return false; if (!DefaultCodeFragmentFactory.isDebuggerFile(file)) { return false; } return RuntimeTypeEvaluator.isSubtypeable(expr); }