boolean debugComments = this instanceof SContainer;
boolean debugComments = false;
    public void write(Device s) throws IOException {        try {            boolean debugComments = this instanceof SContainer;            if (debugComments)                s.print("<!--"+this.getClass().getName()+".START-->");            if (visible) {                cg.write(s, this);            }            if (debugComments)                s.print("<!--"+this.getClass().getName()+".END-->");        }        catch (SocketException se) {            // Typical double-clicks. Not severe            log.info( "Exception during code generation for " + getClass().getName(), se);        } catch (Throwable t) {            log.fatal( "Exception during code generation for " + getClass().getName(), t);        }    }