Files
openide/java/jdkAnnotations/org/w3c/dom/annotations.xml
Tagir Valeev 72418bf470 [jdk-annotations] Remove NotNull from Node.getAttributes() (may legally return null)
Fixes IDEA-297812 org.w3c.dom.Node#getAttributes() is erroneous annotated as 'NotNull'

GitOrigin-RevId: ead3485f11991bab33358437c845995272a48b3f
2022-07-13 19:29:02 +00:00

252 lines
10 KiB
XML

<root>
<item name='org.w3c.dom.Document org.w3c.dom.NodeList getElementsByTagName(java.lang.String) 0'>
<annotation name='org.jetbrains.annotations.NonNls'/>
</item>
<item name='org.w3c.dom.Element boolean hasAttribute(java.lang.String)'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
</item>
<item name='org.w3c.dom.Element boolean hasAttributeNS(java.lang.String, java.lang.String)'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
</item>
<item name='org.w3c.dom.Element java.lang.String getAttribute(java.lang.String)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
</item>
<item name='org.w3c.dom.Element java.lang.String getAttributeNS(java.lang.String, java.lang.String)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
</item>
<item name='org.w3c.dom.Element java.lang.String getTagName()'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
</item>
<item name='org.w3c.dom.Element org.w3c.dom.Attr getAttributeNode(java.lang.String)'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
</item>
<item name='org.w3c.dom.Element org.w3c.dom.Attr getAttributeNodeNS(java.lang.String, java.lang.String)'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
</item>
<item name='org.w3c.dom.Element org.w3c.dom.Attr removeAttributeNode(org.w3c.dom.Attr)'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="mutates" val="&quot;this&quot;"/>
</annotation>
</item>
<item name='org.w3c.dom.Element org.w3c.dom.Attr setAttributeNode(org.w3c.dom.Attr)'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="mutates" val="&quot;this&quot;"/>
</annotation>
</item>
<item name='org.w3c.dom.Element org.w3c.dom.Attr setAttributeNodeNS(org.w3c.dom.Attr)'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="mutates" val="&quot;this&quot;"/>
</annotation>
</item>
<item name='org.w3c.dom.Element org.w3c.dom.NodeList getElementsByTagName(java.lang.String)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
</item>
<item name='org.w3c.dom.Element org.w3c.dom.NodeList getElementsByTagNameNS(java.lang.String, java.lang.String)'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.w3c.dom.Element org.w3c.dom.TypeInfo getSchemaTypeInfo()'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
</item>
<item name='org.w3c.dom.Element void removeAttribute(java.lang.String)'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="mutates" val="&quot;this&quot;"/>
</annotation>
</item>
<item name='org.w3c.dom.Element void removeAttributeNS(java.lang.String, java.lang.String)'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="mutates" val="&quot;this&quot;"/>
</annotation>
</item>
<item name='org.w3c.dom.Element void setAttribute(java.lang.String, java.lang.String)'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="mutates" val="&quot;this&quot;"/>
</annotation>
</item>
<item name='org.w3c.dom.Element void setAttributeNS(java.lang.String, java.lang.String, java.lang.String)'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="mutates" val="&quot;this&quot;"/>
</annotation>
</item>
<item name='org.w3c.dom.Element void setIdAttribute(java.lang.String, boolean)'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="mutates" val="&quot;this&quot;"/>
</annotation>
</item>
<item name='org.w3c.dom.Element void setIdAttributeNS(java.lang.String, java.lang.String, boolean)'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="mutates" val="&quot;this&quot;"/>
</annotation>
</item>
<item name='org.w3c.dom.Element void setIdAttributeNode(org.w3c.dom.Attr, boolean)'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="mutates" val="&quot;this&quot;"/>
</annotation>
</item>
<item name='org.w3c.dom.Node boolean hasAttributes()'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
</item>
<item name='org.w3c.dom.Node boolean isDefaultNamespace(java.lang.String)'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
</item>
<item name='org.w3c.dom.Node boolean isEqualNode(org.w3c.dom.Node)'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
</item>
<item name='org.w3c.dom.Node boolean isSameNode(org.w3c.dom.Node)'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
</item>
<item name='org.w3c.dom.Node boolean isSupported(java.lang.String, java.lang.String)'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
</item>
<item name='org.w3c.dom.Node java.lang.Object getFeature(java.lang.String, java.lang.String)'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
</item>
<item name='org.w3c.dom.Node java.lang.Object getUserData(java.lang.String)'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
</item>
<item name='org.w3c.dom.Node java.lang.Object setUserData(java.lang.String, java.lang.Object, org.w3c.dom.UserDataHandler)'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="mutates" val="&quot;this&quot;"/>
</annotation>
</item>
<item name='org.w3c.dom.Node java.lang.String getBaseURI()'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
</item>
<item name='org.w3c.dom.Node java.lang.String getLocalName()'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
</item>
<item name='org.w3c.dom.Node java.lang.String getNamespaceURI()'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
</item>
<item name='org.w3c.dom.Node java.lang.String getNodeName()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
<annotation name='org.jetbrains.annotations.NonNls'/>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
</item>
<item name='org.w3c.dom.Node java.lang.String getNodeValue()'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
</item>
<item name='org.w3c.dom.Node java.lang.String getPrefix()'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
</item>
<item name='org.w3c.dom.Node java.lang.String getTextContent()'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
</item>
<item name='org.w3c.dom.Node java.lang.String lookupPrefix(java.lang.String)'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
</item>
<item name='org.w3c.dom.Node org.w3c.dom.Document getOwnerDocument()'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
</item>
<item name='org.w3c.dom.Node org.w3c.dom.NamedNodeMap getAttributes()'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
</item>
<item name='org.w3c.dom.Node org.w3c.dom.Node getFirstChild()'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
</item>
<item name='org.w3c.dom.Node org.w3c.dom.Node getLastChild()'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
</item>
<item name='org.w3c.dom.Node org.w3c.dom.Node getNextSibling()'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
</item>
<item name='org.w3c.dom.Node org.w3c.dom.Node getParentNode()'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
</item>
<item name='org.w3c.dom.Node org.w3c.dom.Node getPreviousSibling()'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
</item>
<item name='org.w3c.dom.Node org.w3c.dom.NodeList getChildNodes()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
</item>
<item name='org.w3c.dom.Node short compareDocumentPosition(org.w3c.dom.Node)'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
</item>
<item name='org.w3c.dom.Node short getNodeType()'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="pure" val="true"/>
</annotation>
</item>
<item name='org.w3c.dom.Node void setNodeValue(java.lang.String)'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="mutates" val="&quot;this&quot;"/>
</annotation>
</item>
<item name='org.w3c.dom.Node void setPrefix(java.lang.String)'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="mutates" val="&quot;this&quot;"/>
</annotation>
</item>
</root>