private static String getRatio(final int x, final int y) {
    final String ratio = JavaRareRefactoringsBundle.message("type.cook.ratio.generified", x, y);
    return ratio + (y != 0 ? " (" + (x * 100 / y) + "%)" : "");
  }
private static String getRatio(final int x, final int y)