docs: private void computeParametersInfo(String signature, boolean isStatic) {
          assert signature != null && !signature.isEmpty();
          // static methods does not have reference to this
          int stackSize = isStatic ? 0 : 1;
          GenericSignatureParser parser = new GenericSignatureParser(signature);
          Iterator<String> iterator = parser.parameterSignatureIterator();
          int paramIdx = 0;
          slotToParameter = new ArrayList<Integer>();
          while (iterator.hasNext()) {
              String parameter = iterator.next();
              if (parameter.equals("D") || parameter.equals("J")) {
                  // double and long types takes two slots
                  stackSize += 2;
                  slotToParameter.add(paramIdx);
                  slotToParameter.add(paramIdx);
              } else {
                  stackSize++;
                  slotToParameter.add(paramIdx);
              }
              paramIdx++;
          }
          parameterStackSize = stackSize;
      }