document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. Pattern p = Pattern.compile("rename_method\\\\(" + // ignore \'rename_method(\'
  2.     "\\"([^\\"]*)\\"," +                        // find \'"....",\'
  3.     "\\"([^\\"]*)\\"," +
  4.     "\\"([^\\"]*)\\""  +
  5.     "\\\\)");                                  // ignore closing \')\'
  6. Matcher m = p.matcher(refactoring);
  7.        
  8. boolean result = m.find();
  9. if (result)
  10. {
  11.     beforeMethodName = m.group(1);
  12.     afterMethodName = m.group(2);
  13. }
');