docs: protected static List primitiveArrayGet(Object self, Collection indices) {
          List answer = new ArrayList();
          for (Object value : indices) {
              if (value instanceof Range) {
                  answer.addAll(primitiveArrayGet(self, (Range) value));
              } else if (value instanceof List) {
                  answer.addAll(primitiveArrayGet(self, (List) value));
              } else {
                  int idx = DefaultTypeTransformation.intUnbox(value);
                  answer.add(primitiveArrayGet(self, idx));
              }
          }
          return answer;
      }