private static void addTempAssignment(PsiField field, StringBuilder buffer, String tempName) {
    if (PsiTypes.doubleType().equals(field.getType())) {
      buffer.append(tempName);
      addTempForDoubleInitialization(field, buffer);
    }
  }
private static void addTempAssignment(PsiField field, StringBuilder buffer, String tempName)