protected boolean canHandleFieldForConfiguredMetadata(
     AddMetadataRequest addMetadataRequest, Map<String, FieldMetadata> metadata) {
   AdminPresentationAdornedTargetCollection annot =
       addMetadataRequest
           .getRequestedField()
           .getAnnotation(AdminPresentationAdornedTargetCollection.class);
   return annot != null;
 }
 @Override
 public FieldProviderResponse addMetadata(
     AddMetadataRequest addMetadataRequest, Map<String, FieldMetadata> metadata) {
   if (!canHandleFieldForConfiguredMetadata(addMetadataRequest, metadata)) {
     return FieldProviderResponse.NOT_HANDLED;
   }
   AdminPresentationAdornedTargetCollection annot =
       addMetadataRequest
           .getRequestedField()
           .getAnnotation(AdminPresentationAdornedTargetCollection.class);
   FieldInfo info = buildFieldInfo(addMetadataRequest.getRequestedField());
   FieldMetadataOverride override = constructAdornedTargetCollectionMetadataOverride(annot);
   buildAdornedTargetCollectionMetadata(
       addMetadataRequest.getParentClass(),
       addMetadataRequest.getTargetClass(),
       metadata,
       info,
       override,
       addMetadataRequest.getDynamicEntityDao());
   setClassOwnership(
       addMetadataRequest.getParentClass(), addMetadataRequest.getTargetClass(), metadata, info);
   return FieldProviderResponse.HANDLED;
 }