public InjectionHandler createInjectionHandler(Annotation annotation, Class clazz, PropertyDescriptor propertyDescriptor)
{
InjectContextAttribute input = (InjectContextAttribute) annotation;
String attributeName = AnnotationFactoryUtils.getAttributeName(propertyDescriptor.getName(), input.name());
Class autoCreateClass = input.autoCreate() ? propertyDescriptor.getPropertyType() : null;
ContextAttributeInjectionHandler handler = new ContextAttributeInjectionHandler(attributeName, autoCreateClass);
return handler;
}