{
Location l = newLocation();
ComponentSpecification spec = new ComponentSpecification();
EnhancementOperationImpl op = new EnhancementOperationImpl(getClassResolver(), spec,
baseClass, new ClassFactoryImpl(), null);
op.addInjectedField("_messages", Messages.class, messages);
EnhanceUtils.createSimpleAccessor(op, "_messages", "messages", Messages.class, l);