public CaseStatement innermostSwitchCase(){
  Scope scope=this;
  do {
    if (scope instanceof BlockScope)     return ((BlockScope)scope).enclosingCase;
    scope=scope.parent;
  }
 while (scope != null);
  return null;
}

public CaseStatement innermostSwitchCase ( ) { Scope scope = this ; do { if ( scope instanceof BlockScope ) return ( ( BlockScope ) scope ) . enclosingCase ; scope = scope . parent ; } while ( scope != null ) ; return null ; }
returns the immediately enclosing switchcase statement ( carried by closest blockscope ) ,
