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

This commit is contained in:
Anna Kozlova
2017-05-15 15:06:45 +03:00
parent 4e25ba1b33
commit d634c51afe
5 changed files with 60 additions and 9 deletions

View File

@@ -0,0 +1,13 @@
interface I {
/**
* @throws NullPointerException blah-blah
*/
boolean contains(Object o) {}
}
interface My extends java.util.Collection, I {}
class C {
{
My m = null;
m.<caret>contains(null);
}
}