code: public IScopeHandler getHandler() {
          log.trace("getHandler from {}", name);
          if (handler != null) {
              return handler;
          } else if (hasParent()) {
              return getParent().getHandler();
          } else {
              return null;
          }
      }
docs: Return scope handler or parent's scope handler if this scope doesn't have one.
  
  @return Scope handler (or parent's one)