public void processAnnotations(DescriptorPolicy descriptorPolicy) {
processPropertyAnnotations(descriptorPolicy);
}
private void processPropertyAnnotations(DescriptorPolicy descriptorPolicy) {
CustomShadowVariable shadowVariableAnnotation = variablePropertyAccessor.getReadMethod()
.getAnnotation(CustomShadowVariable.class);
variableListenerClass = shadowVariableAnnotation.variableListenerClass();
CustomShadowVariable.Source[] sources = shadowVariableAnnotation.sources();
if (sources.length < 1) {
throw new IllegalArgumentException("The entityClass (" + entityDescriptor.getEntityClass()
+ ") has a " + CustomShadowVariable.class.getSimpleName()
+ " annotated property (" + variablePropertyAccessor.getName()
+ ") with sources (" + Arrays.toString(sources)