public double getDescriptionCost() {
   double dc = CARD_COST;
   for (InferredType it : unionTypes) {
     dc += it.getDescriptionCost();
   }
   return dc;
 }
 public double getDescriptionCost() {
   return CARD_COST + bodyType.getDescriptionCost();
 }