if (bev != null) { switch (bev.getValueType()) { case ValueType.BYTE: return ((ByteEncodedValue) bev).getValue();
@Override protected void writeEncodedValue(@Nonnull InternalEncodedValueWriter writer, @Nonnull BuilderEncodedValue encodedValue) throws IOException { switch (encodedValue.getValueType()) { case ValueType.ANNOTATION: BuilderAnnotationEncodedValue annotationEncodedValue = (BuilderAnnotationEncodedValue)encodedValue; break; default: throw new ExceptionWithContext("Unrecognized value type: %d", encodedValue.getValueType());
@Override protected void writeEncodedValue(@Nonnull InternalEncodedValueWriter writer, @Nonnull BuilderEncodedValue encodedValue) throws IOException { switch (encodedValue.getValueType()) { case ValueType.ANNOTATION: BuilderAnnotationEncodedValue annotationEncodedValue = (BuilderAnnotationEncodedValue)encodedValue; break; default: throw new ExceptionWithContext("Unrecognized value type: %d", encodedValue.getValueType());
@Override protected void writeEncodedValue(@Nonnull InternalEncodedValueWriter writer, @Nonnull BuilderEncodedValue encodedValue) throws IOException { switch (encodedValue.getValueType()) { case ValueType.ANNOTATION: BuilderAnnotationEncodedValue annotationEncodedValue = (BuilderAnnotationEncodedValue)encodedValue; break; default: throw new ExceptionWithContext("Unrecognized value type: %d", encodedValue.getValueType());