}
}
@Override
public JpaGraphReference attributeProcessed(String attributeName) {
final AttributeNodeImplementor attributeNode = this.elementGraphAttributeMap.remove( attributeName );
if ( attributeNode == null ) {
return NoOpJpaGraphReference.INSTANCE;
}
return attributeNode.getAttribute().isCollection()
? new JpaGraphCollectionReference( attributeNode )
: new JpaGraphSingularAttributeReference( attributeNode );
}