rwl.writeLock().lock(); { if (renderer == null) throw new IllegalStateException(NULL_RENDERER);
try { rwl.writeLock().lock(); errorIfInvalidState();
    public void setActive(int w, boolean active)    {        rwl.writeLock().lock();        {            if (renderer == null)                throw new IllegalStateException(NULL_RENDERER);                        ChannelBinding[] cb = renderer.getChannelBindings();            cb[w].setActive(Boolean.valueOf(active));        }        rwl.writeLock().unlock();    }