docs: public Map<String, Variable> getDeclaredVariables() {
          if (declaredVariables == Collections.EMPTY_MAP) {
              return declaredVariables;
          } else {
              return Collections.unmodifiableMap(declaredVariables);
          }
      }