docs: @Override
      public Object resolveVariable(QName variableName) {
          final Map<String, ?> variables = this.localVariables.get();
          if (variables == null) {
              return null;
          }
  
          final String localPart = variableName.getLocalPart();
          return variables.get(localPart);
      }