@SuppressWarnings("unchecked") public static <T>T contextLookup(Class<T> clazz){
  if (ENABLED) {
    for (    Object o : context()) {
      if (clazz.isInstance(o)) {
        return ((T)o);
      }
    }
  }
  return null;
}

@ SuppressWarnings ( "unchecked" ) public static < T > T contextLookup ( Class < T > clazz ) { if ( ENABLED ) { for ( Object o : context ( ) ) { if ( clazz . isInstance ( o ) ) { return ( ( T ) o ) ; } } } return null ; }
searches the current debug scope , bottom up , for a context object that is an instance of a given type . the first such object found is returned .
