Nit- I believe that this DynamicMetadataExtractor should never return null, so the null superClassMetadataList case and null classMetadataList cases should never be hit.