int result;
    public int getModel()    {        int result;        rwl.readLock().lock();        {            if (renderer == null)                throw new IllegalStateException(NULL_RENDERER);            // TODO doesn't need render !!! other cases?            result =                 RenderingDefConstants.convertType(rendDefObj.getModel());        }        rwl.readLock().unlock();        return result;    }