Verifies that both the java.lang.Deprecated annotation is present and the @deprecated Javadoc tag is present when either is present.