mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-19 10:20:56 +07:00
Do not extract the throws list from a super method, use the super method's javadoc throws section only to copy the description of a particular @throws entry when explicitly requested via {@inheritDoc}
GitOrigin-RevId: dabc6935e58addb9b03ae9065360f9bc89a13720
18 lines
338 B
Java
18 lines
338 B
Java
interface I {
|
|
/**
|
|
* @throws NullPointerException blah-blah
|
|
*/
|
|
boolean contains(Object o);
|
|
}
|
|
interface My extends java.util.Collection, I {
|
|
/**
|
|
* @throws NullPointerException before {@inheritDoc} after
|
|
*/
|
|
boolean contains(Object o) throws IOException;
|
|
}
|
|
class C {
|
|
{
|
|
My m = null;
|
|
m.<caret>contains(null);
|
|
}
|
|
} |