docs: private Value[] compactValues( Value[] inputValues ) {
          if (inputValues == null) {
              return null;
          }
          List<Value> compactedList = new ArrayList<Value>();
          for (Value inputValue : inputValues) {
              if (inputValue != null) {
                  compactedList.add(inputValue);
              }
          }
          return compactedList.toArray(new Value[0]);
      }