{
Class<? extends Annotation> annotationClass = (Class<? extends Annotation>) di.getClassLoader().loadClass(xmlAnnotation.getAnnotationClass());
Class<? extends Annotation> annotationImplementationClass = (Class<? extends Annotation>) di.getClassLoader().loadClass(xmlAnnotation.getAnnotationImplementationClass());
Annotation annotation = annotationImplementationClass.newInstance();
AnnotationPropertiesMetaData properties = xmlAnnotation.getProperties();
if (properties != null)
{
for (AnnotationPropertyMetaData property : properties)
{
Field field = annotationImplementationClass.getDeclaredField(property.getName());