new ArrayList<NodeType>(declaredSuperTypeNames.length);
for (String declaredSuperTypeName : declaredSuperTypeNames) {
types.add(manager.getNodeType(
mapper.getJcrName(declaredSuperTypeName)));
}
return new NodeTypeIteratorAdapter(types);
} catch (RepositoryException e) {
throw new IllegalStateException(
"Inconsistent node type: " + this, e);
}
}