if (streamInput != null)
if (getInputChannel () != null)
    final void initCount ()    {        if (streamInput != null)        {            popCount = streamInput.getPopCount ();            peekCount = streamInput.getPeekCount ();        }        if (streamOutput != null)        {            pushCount = streamOutput.getPushCount ();        }    }