@Override
protected Class<?> extractBuilderClass()
{
ThriftUnion annotation = getStructClass().getAnnotation(ThriftUnion.class);
if (annotation != null && !annotation.builder().equals(void.class)) {
return annotation.builder();
}
else {
return null;
}