private static @NotNull @NonNls String numberAsText(int num, PsiType type) {
    if (PsiTypes.doubleType().equals(type)) return num + ".0";
    if (PsiTypes.floatType().equals(type)) return num + ".0f";
    if (PsiTypes.longType().equals(type)) return num + "L";
    return String.valueOf(num);
  }
private static @NotNull @NonNls String numberAsText(int num, PsiType type)