this.identifierName = idProvided ? null : idGetter.getName();
}
private FieldCacheCollectorFactory figureIdFieldCacheUsage() {
if ( this.fieldCacheUsage.contains( org.hibernate.search.annotations.FieldCacheType.ID ) ) {
FieldCacheLoadingType collectorTypeForId = ClassLoadingStrategySelector.guessAppropriateCollectorType( idBridge );
if ( collectorTypeForId == null ) {
log.cannotExtractValueForIdentifier( this.beanClass );
return null;
}
TwoWayStringBridge twoWayIdStringBridge = ClassLoadingStrategySelector.getTwoWayStringBridge( idBridge );