code: public static boolean checkIfParameterTypesAreSame(boolean isVarArgs, Class<?>[] expectedParameterTypes,
                                                         Class<?>[] actualParameterTypes) {
          return new ParameterTypesMatcher(isVarArgs, expectedParameterTypes, actualParameterTypes).match();
      }
docs: Check if parameter types are same.
  
  @param isVarArgs              Whether or not the method or constructor contains var args.
  @param expectedParameterTypes the expected parameter types
  @param actualParameterTypes   the actual parameter types
  @return if all actual parameter types are assignable from the expected
  parameter types, otherwise.