docs: private int getLocalVariableIndex(int i) {
          int index = classMethod.isStatic() ? 0 : 1;
          for (String type : classMethod.getParameters()) {
              if (type.equals(DOUBLE_CLASS_DESCRIPTOR) || type.equals(LONG_CLASS_DESCRIPTOR)) {
                  index += 2;
              } else {
                  index++;
              }
          }
          return index + i;
      }