NodeType[] mixinNodeTypes ) {
Map<PropertyDefinitionId, JcrPropertyDefinition> props = new HashMap<PropertyDefinitionId, JcrPropertyDefinition>();
/*
* Need to have the same parent name for all PropertyDefinitionIds and NodeDefinitionIds as we're checking for conflicts on the definition name
*/
final Name DEFAULT_NAME = this.name;
for (JcrPropertyDefinition property : propertyDefinitions()) {
/*
* I'm trying really hard to reuse existing code, but it's a stretch in this case. I don't care about the property
* types or where they were declared... if more than one definition with the given name exists (not counting definitions