private static int getParametersStackSize(PsiElement method) {
    return Arrays.stream(DebuggerUtilsEx.getParameters(method)).mapToInt(parameter -> getTypeSlotSize(parameter.getType())).sum();
  }
private static int getParametersStackSize(PsiElement method)