@Override
public void visit(final Visitable visitable) throws IOException
{
final IntegerEnum integerEnum = IntegerEnum.class.cast(visitable);
final EnumContext enumContext = contextGenerator.enumFromThrift(integerEnum);
for (final IntegerEnumField field : integerEnum.getFields()) {
enumContext.addField(contextGenerator.fieldFromThrift(field));
}
render(enumContext, "intEnum");
}