String viaPropertyName = null;
if (processor != null) {
viaPropertyName = processor.getVia();
}
if (viaPropertyName == null) {
Via viaAnnotation = point.getAnnotation(Via.class);
if (viaAnnotation == null) {
return adaptable;
}
viaPropertyName = viaAnnotation.value();
}
try {
return PropertyUtils.getProperty(adaptable, viaPropertyName);
} catch (Exception e) {
log.error("Unable to execution projection " + viaPropertyName, e);