DomExtension (final @NotNull XmlName name, final @NotNull Type type) { assert GenericAttributeValue.class.isAssignableFrom(ClassUtil.getRawType(type)); return addExtension(myAttributes, name, type); }