mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
javadoc: process {@inheritDoc} for throws tags correctly (IDEA-62524)
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
<html><head> <style type="text/css"> #error { background-color: #eeeeee; margin-bottom: 10px; } p { margin: 5px 0; } </style></head><body><small><b><a href="psi_element://InheritedDocInThrows"><code>InheritedDocInThrows</code></a></b></small><PRE>void <b>foo</b>()
|
||||
throws <a href="psi_element://java.io.IOException"><code>IOException</code></a></PRE><DD><DL><DT><b>Overrides:</b><DD><a href="psi_element://A#foo()"><code>foo</code></a> in class <a href="psi_element://A"><code>A</code></a></DD></DL></DD><DD><DL><DT><b>Throws:</b><DD><a href="psi_element://java.io.IOException"><code>IOException</code></a> - la-la-la</DD></DL></DD></body></html>
|
||||
@@ -0,0 +1,18 @@
|
||||
import java.io.IOException;
|
||||
|
||||
class InheritedDocInThrows extends A{
|
||||
/**
|
||||
* @throws IOException {@inheritDoc}
|
||||
*/
|
||||
void foo() throws IOException {
|
||||
super.foo();
|
||||
}
|
||||
}
|
||||
|
||||
class A {
|
||||
/**
|
||||
* @throws IOException la-la-la
|
||||
*/
|
||||
void foo() throws IOException {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
<html><head> <style type="text/css"> #error { background-color: #eeeeee; margin-bottom: 10px; } p { margin: 5px 0; } </style></head><body><small><b><a href="psi_element://InheritedDocInThrows1"><code>InheritedDocInThrows1</code></a></b></small><PRE>void <b>foo</b>()
|
||||
throws <a href="psi_element://java.io.IOException"><code>IOException</code></a></PRE><DD><DL><DT><b>Overrides:</b><DD><a href="psi_element://A#foo()"><code>foo</code></a> in class <a href="psi_element://A"><code>A</code></a></DD></DL></DD><DD><DL><DT><b>Throws:</b><DD><a href="psi_element://java.io.IOException"><code>IOException</code></a> - comment</DD></DL></DD></body></html>
|
||||
@@ -0,0 +1,18 @@
|
||||
import java.io.IOException;
|
||||
|
||||
class InheritedDocInThrows1 extends A{
|
||||
/**
|
||||
* @throws java.io.IOException comment
|
||||
*/
|
||||
void foo() throws IOException {
|
||||
super.foo();
|
||||
}
|
||||
}
|
||||
|
||||
class A {
|
||||
/**
|
||||
* @throws java.io.IOException la-la-la
|
||||
*/
|
||||
void foo() throws IOException {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user