bridge = builtInBridges.get( returnType.getName() );
if ( bridge == null && returnType.isEnum() ) {
//we return one enum type bridge instance per property as it is customized per ReturnType
final EnumBridge enumBridge = new EnumBridge();
populateReturnType( reflectionManager.toClass( member.getType() ), EnumBridge.class, enumBridge );
bridge = new TwoWayString2FieldBridgeAdaptor( enumBridge );
}
if ( bridge == null && isAnnotatedWithIndexEmbedded( member ) ) {
bridge = guessEmbeddedFieldBridge( member, reflectionManager );
}
}