if (!isOfFileReferenceType(persistentProperty)) {
return emptyList();
}
Annotation annotation = persistentProperty.findAnnotation(FileReference.class);
FileReference fileReference = (FileReference) annotation;
if (isEmpty(fileReference.baseDirectory())) {
if (lightAdminConfiguration.getFileStorageDirectory() != null) {