ParentContext () { if (myConditional.getThenExpression() == myExpression || myConditional.getElseExpression() == myExpression) { return myUpstream.getExpectedParentContext(); } return super.getExpectedParentContext(); }