I want to return boolean value from the below method but it gives me error message saying 

```
"Local variable stopped is access from within inner class;
 needs to be declared final."  

```

But if I declare stopped as final I can't change it's value. 

I know it is due to Timer. Please suggest ! 

```
public boolean requestTimer(final Club club,final String msisdn, final int time)   {

   boolean stopped=false;

   new java.util.Timer().schedule( 
      new java.util.TimerTask() {
          @Override
          public void run() {
               stopped=checkStopped(club,msisdn); //this line has the   error                                
          }
      }, time);
    return stopped;
}

```