IDEA-236574 False-positive warning appears when inheritDoc is used in @throws tag

GitOrigin-RevId: 0214fca1f2111eb90cef9d4ecda31aeafe68895b
This commit is contained in:
Tagir Valeev
2020-04-02 13:58:59 +07:00
committed by intellij-monorepo-bot
parent 59743cd1d6
commit 2beb7c007b
4 changed files with 28 additions and 7 deletions

View File

@@ -0,0 +1,16 @@
interface Base {
/**
* @throws java.lang.RuntimeException if something wrong happens
*/
void test();
}
class Test implements Base {
/**
* @throws java.lang.RuntimeException {@inheritDoc}
* <warning descr="'throws' tag description is missing">@throws</warning> java.lang.Error
*/
public void test() {
}
}