List<Statement> statements = Lists.create();
SimpleName builder = f.newSimpleName("builder"); //$NON-NLS-1$
statements.add(new TypeBuilder(f, context.resolve(DataModelDescriptorBuilder.class))
.newObject(f.newClassLiteral(context.resolve(model.getSymbol())))
.toLocalVariableDeclaration(context.resolve(DataModelDescriptorBuilder.class), builder));
AstDescription description = model.getDescription();
if (description != null) {
statements.add(new ExpressionBuilder(f, builder)
.method("comment", Models.toLiteral(f, description.getText())) //$NON-NLS-1$
.toStatement());
}
for (PropertyDeclaration property : model.getDeclaredProperties()) {
HiveFieldTrait field = HiveFieldTrait.get(property);
if (field.isColumnPresent() == false) {