@Override
  public void process(final Resource resource, final Reader reader, final Writer writer)
      throws IOException {
    StopWatch stopWatch = null;
    if (isDebug()) {
      stopWatch = new StopWatch();
      before(stopWatch);
    }
    try {
      super.process(resource, reader, writer);
    } finally {
      if (isDebug()) {
        after(stopWatch);
      }
    }
  }
@Override
  public void process(final Resource resource, final Reader reader, final Writer writer)
      throws IOException {
    StopWatch stopWatch = null;
    if (isDebug()) {
      stopWatch = new StopWatch();
      before(stopWatch);
    }
    try {
      super.process(resource, reader, writer);
    } finally {
      if (isDebug()) {
        after(stopWatch);
      }
    }
  }
@ Override public void process ( final Resource resource , final Reader reader , final Writer writer ) throws IOException { StopWatch stopWatch = null ; if ( isDebug ( ) ) { stopWatch = new StopWatch ( ) ; before ( stopWatch ) ; } try { super . process ( resource , reader , writer ) ; } finally { if ( isDebug ( ) ) { after ( stopWatch ) ; } } }
{@inheritDoc}
{