final String metadataIdentificationString,
final JavaType aspectName,
final PhysicalTypeMetadata governorPhysicalTypeMetadata,
final String itdFilename) {
// We need to parse the annotation, which we expect to be present
final WebScaffoldAnnotationValues annotationValues = new WebScaffoldAnnotationValues(
governorPhysicalTypeMetadata);
if (!annotationValues.isAnnotationFound()
|| !annotationValues.isExposeFinders()
|| annotationValues.getFormBackingObject() == null
|| governorPhysicalTypeMetadata.getMemberHoldingTypeDetails() == null) {
return null;
}
// Lookup the form backing object's metadata
final JavaType formBackingType = annotationValues
.getFormBackingObject();
final ClassOrInterfaceTypeDetails formBackingTypeDetails = typeLocationService
.getTypeDetails(formBackingType);
if (formBackingTypeDetails == null
|| !formBackingTypeDetails.getCustomData().keySet()