mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
IDEA-155349 JDK exceptions are not resolved in Quick Documentation
This commit is contained in:
+2
-2
@@ -1,6 +1,6 @@
|
||||
<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>java.lang</b></small><PRE>public final class <b>String</b>
|
||||
extends <a href="psi_element://java.lang.Object"><code>java.lang.Object</code></a>
|
||||
implements <a href="psi_element://java.io.Serializable"><code>java.io.Serializable</code></a>, <a href="psi_element://java.lang.Comparable"><code>java.lang.Comparable</code></a><<a href="psi_element://java.lang.String"><code>String</code></a>>, <a href="psi_element://java.lang.CharSequence"><code>java.lang.CharSequence</code></a></PRE>
|
||||
extends <a href="psi_element://java.lang.Object"><code>Object</code></a>
|
||||
implements <a href="psi_element://java.io.Serializable"><code>java.io.Serializable</code></a>, <a href="psi_element://java.lang.Comparable"><code>Comparable</code></a><<a href="psi_element://java.lang.String"><code>String</code></a>>, <a href="psi_element://java.lang.CharSequence"><code>CharSequence</code></a></PRE>
|
||||
The <code>String</code> class represents character strings. All
|
||||
string literals in Java programs, such as <code>"abc"</code>, are
|
||||
implemented as instances of this class.
|
||||
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
<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.List"><code>java.util.List</code></a></b></small><PRE>public abstract boolean <b>contains</b>(<a href="psi_element://java.lang.Object"><code>Object</code></a> o)</PRE>
|
||||
|
||||
Returns <tt>true</tt> if this list contains the specified element.
|
||||
More formally, returns <tt>true</tt> if and only if this list contains
|
||||
at least one element <tt>e</tt> such that
|
||||
<tt>(o==null ? e==null : o.equals(e))</tt>.
|
||||
|
||||
<DD><DL><DT><b>Overrides:</b><DD><a href="psi_element://java.util.Collection#contains(java.lang.Object)"><code>contains</code></a> in interface <a href="psi_element://java.util.Collection"><code>Collection</code></a></DD></DL></DD><DD><DL><DT><b>Parameters:</b><DD><code>o</code> - element whose presence in this list is to be tested. </DD></DL></DD><DD><DL><DT><b>Returns:</b><DD><tt>true</tt> if this list 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 list (optional). <DD><a href="psi_element://java.lang.NullPointerException"><code>NullPointerException</code></a> - if the specified element is null and this list does not support null elements (optional).</DD></DL></DD></body></html>
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
class C {
|
||||
{
|
||||
java.util.List l = null;
|
||||
l.<caret>contains(null);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user