Implementation should be generated so that we can efficiently type check various values. @param setField the field to assign value to. @param value the value to be assigned to setField. @throws ClassCastException if the type of value is incompatible with the type of setField.
(F setField, Object value)
| 167 | * @throws ClassCastException if the type of value is incompatible with the type of setField. |
| 168 | */ |
| 169 | protected abstract void checkType(F setField, Object value) throws ClassCastException; |
| 170 | |
| 171 | /** |
| 172 | * Implementation should be generated to read the right stuff from the wire based on the field |