SIRPortal p = (SIRPortal)obj; p.addReceiver(receiver); self.setPortal(p);
self.setPortal((SIRPortal)obj); } }        if (loopDepth == 0) {  if (self.getPortal() instanceof SIRPortal) { ((SIRPortal)self.getPortal()).addReceiver(receiver);
    public Object visitRegReceiverStatement(SIRRegReceiverStatement self, JExpression portal, SIRStream receiver, JMethodDeclaration[] methods) {        JExpression expr = self.getPortal();        if (expr instanceof JLocalVariableExpression) {            Object obj = constants.get(((JLocalVariableExpression)expr).getVariable());            if (obj instanceof SIRPortal) {                SIRPortal p = (SIRPortal)obj;                p.addReceiver(receiver);                self.setPortal(p);            }        }        return self;    }