// Add annotations to field
final List<AnnotationMetadataBuilder> annotations = new ArrayList<AnnotationMetadataBuilder>();
final AnnotationMetadataBuilder manyToManyBuilder = new AnnotationMetadataBuilder(
MANY_TO_MANY);
manyToManyBuilder.addStringAttribute(MAPPED_BY,
mappedByFieldName.getSymbolName());
addCascadeType(manyToManyBuilder, onUpdate, onDelete);
annotations.add(manyToManyBuilder);
return new FieldMetadataBuilder(getId(), Modifier.PRIVATE, annotations,