private static boolean compareParam(String jdiffParam,Type reflectionParamType){
  if (jdiffParam == null) {
    return false;
  }
  String reflectionParam=typeToString(reflectionParamType);
  if (jdiffParam.equals(reflectionParam)) {
    return true;
  }
  int jdiffParamEndOffset=jdiffParam.indexOf("...");
  int reflectionParamEndOffset=reflectionParam.indexOf("[]");
  if (jdiffParamEndOffset != -1 && reflectionParamEndOffset != -1) {
    jdiffParam=jdiffParam.substring(0,jdiffParamEndOffset);
    reflectionParam=reflectionParam.substring(0,reflectionParamEndOffset);
    return jdiffParam.equals(reflectionParam);
  }
  return false;
}

private static boolean compareParam ( String jdiffParam , Type reflectionParamType ) { if ( jdiffParam == null ) { return false ; } String reflectionParam = typeToString ( reflectionParamType ) ; if ( jdiffParam . equals ( reflectionParam ) ) { return true ; } int jdiffParamEndOffset = jdiffParam . indexOf ( "..." ) ; int reflectionParamEndOffset = reflectionParam . indexOf ( "[]" ) ; if ( jdiffParamEndOffset != - 1 && reflectionParamEndOffset != - 1 ) { jdiffParam = jdiffParam . substring ( 0 , jdiffParamEndOffset ) ; reflectionParam = reflectionParam . substring ( 0 , reflectionParamEndOffset ) ; return jdiffParam . equals ( reflectionParam ) ; } return false ; }
compares the parameter from the api and the parameter from reflection .
