Override if your Condition can return a more specific type of node. The typical way is to cast the call to super.getNode().