@Override
 public void setAnnotatedType(AnnotatedType<X> type) {
   if (configurator != null) {
     throw BootstrapLogger.LOG.configuratorAndSetMethodBothCalled(
         ProcessAnnotatedType.class.getSimpleName(), getReceiver());
   }
   checkWithinObserverNotification();
   if (type == null) {
     throw BootstrapLogger.LOG.annotationTypeNull(this);
   }
   replaceAnnotatedType(type);
   annotatedTypeSet = true;
   BootstrapLogger.LOG.setAnnotatedTypeCalled(getReceiver(), annotatedType, type);
 }