= (ProtocolProxyFactory) factoryClass.newInstance();
proxyFactory.setProxyType(ann);
proxyFactory.setAnnotated(annotated);
Object proxy = proxyFactory.createProxy((Class<?>) annotated.getBaseType());
AnnotatedTypeImpl<?> annotatedType
= new AnnotatedTypeImpl((AnnotatedType) annotated);
annotatedType.addAnnotation(EnhancedLiteral.ANNOTATION);