method.type();
method.annotate(StrategyAwareMapBean.class);
method.annotate(SingleValueResult.class);
JAnnotationUse selectAnnotation = method.annotate(SqlQuery.class);
SqlSelectByPK sqlSelectById = new SqlSelectByPK(table);
selectAnnotation.param("value", sqlSelectById.generate(new Binding()));
for (Column column : table.getPrimaryKeyColumns()) {
JVar param = method.param(column.getField().getType(), uncapitalize(column.getFieldName()));
JAnnotationUse bind = param.annotate(Bind.class);
bind.param("value", uncapitalize(column.getFieldName()));
}