docs: @SuppressWarnings( "unchecked" )
      public Object create( String keyOrIndex, WalkedPath walkedPath, OpMode opMode ) {
          Object parent = walkedPath.lastElement().getTreeRef();
          Optional<Integer> origSizeOptional = walkedPath.lastElement().getOrigSize();
          int index = -1;
          try {
              index = Integer.parseInt( keyOrIndex );
          }
          catch ( Exception ignored ) {
          }
          Object value = null;
          if ( parent instanceof Map && opMode.isApplicable( (Map) parent, keyOrIndex ) ) {
              value = createValue();
              ( (Map) parent ).put( keyOrIndex, value );
          }
          else if ( parent instanceof List && opMode.isApplicable( (List) parent, index, origSizeOptional.get() ) ) {
              value = createValue();
              ( (List) parent ).set( index, value );
          }
          return value;
      }