javadoc: include all throws unchecked exceptions from all super methods (IDEA-152938)

This commit is contained in:
Anna Kozlova
2017-05-15 18:59:37 +03:00
parent 4e25ba1b33
commit d634c51afe
5 changed files with 60 additions and 9 deletions
@@ -0,0 +1,7 @@
<html><head><base href="placeholder"> <style type="text/css"> #error { background-color: #eeeeee; margin-bottom: 10px; } p { margin: 5px 0; } </style></head><body><small><b><a href="psi_element://java.util.Collection"><code>java.util.Collection</code></a></b></small><PRE>public abstract&nbsp;boolean&nbsp;<b>contains</b>(<a href="psi_element://java.lang.Object"><code>Object</code></a>&nbsp;o)</PRE>
Returns <tt>true</tt> if this collection contains the specified
element. More formally, returns <tt>true</tt> if and only if this
collection contains at least one element <tt>e</tt> such that
<tt>(o==null ? e==null : o.equals(e))</tt>.
<DD><DL><DT><b>Parameters:</b><DD><code>o</code> - element whose presence in this collection is to be tested. </DD></DL></DD><DD><DL><DT><b>Returns:</b><DD><tt>true</tt> if this collection contains the specified element </DD></DL></DD><DD><DL><DT><b>Throws:</b><DD><a href="psi_element://java.lang.ClassCastException"><code>ClassCastException</code></a> - if the type of the specified element is incompatible with this collection (optional). <DD><a href="psi_element://java.lang.NullPointerException"><code>NullPointerException</code></a> - if the specified element is null and this collection does not support null elements (optional).</DD></DL></DD></body></html>