public Context getInnermostDelegateContext ( ) { final Context delegateContext = this . getDelegateContext ( ) ; if ( delegateContext instanceof DelegatingContext ) { return ( ( DelegatingContext ) delegateContext ) . getInnermostDelegateContext ( ) ; } return delegateContext ; }
Recursivley inspect delegates until a non - delegating context is found .