Files
openide/java/java-tests/testData/codeInsight/javadocIG/documentationForUncheckedExceptionsInSupers.java
Nikita Eshkeev 8211d063f7 [javadoc] IDEA-275440 quick documentation shows throws list from interface JavaDocs
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
2021-12-07 05:22:04 +00:00

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);
}
}