/**
* Build "name" -- "attribute node" map from the current entity graph we're visiting.
*/
protected Map<String, AttributeNodeImplementor> buildAttributeNodeMap() {
GraphNodeImplementor graphNode = graphStack.peekLast();
List<AttributeNodeImplementor<?>> attributeNodeImplementors = graphNode.attributeImplementorNodes();
Map<String, AttributeNodeImplementor> attributeNodeImplementorMap = attributeNodeImplementors.isEmpty() ? Collections
.<String, AttributeNodeImplementor>emptyMap() : new HashMap<String, AttributeNodeImplementor>(
attributeNodeImplementors.size()
);
for ( AttributeNodeImplementor attribute : attributeNodeImplementors ) {