Source source = from ? property.getFrom() : property.getJoined();
if (source == null) {
continue;
}
resolver.put(source.getName(), property);
mappings.add(new AstPropertyMapping(
null,
AstBuilder.getDesciption("{0}.{1}",
sourceModel.getSimpleName(),
source.getName()),
Arrays.asList(new AstAttribute[] {