else if (annType.isAnnotationPresent(ProxyType.class)) {
ProxyType proxyType
= (ProxyType) annType.getAnnotation(ProxyType.class);
Class factoryClass = proxyType.defaultFactory();
ProtocolProxyFactory proxyFactory
= (ProtocolProxyFactory) factoryClass.newInstance();
proxyFactory.setProxyType(ann);
proxyFactory.setAnnotated(annotated);
Object proxy = proxyFactory.createProxy((Class) annotated.getBaseType());
AnnotatedTypeImpl annotatedType
= new AnnotatedTypeImpl((Class) annotated.getBaseType());
annotatedType.addAnnotation(EnhancedLiteral.ANNOTATION);