<divclass="type-signature"><spanclass="annotations"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/annotation/Target.html"title="class or interface in java.lang.annotation"class="external-link">@Target</a>({<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/annotation/ElementType.html#CONSTRUCTOR"title="class or interface in java.lang.annotation"class="external-link">CONSTRUCTOR</a>,<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/annotation/ElementType.html#METHOD"title="class or interface in java.lang.annotation"class="external-link">METHOD</a>,<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/annotation/ElementType.html#TYPE"title="class or interface in java.lang.annotation"class="external-link">TYPE</a>})
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/annotation/Retention.html"title="class or interface in java.lang.annotation"class="external-link">@Retention</a>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/annotation/RetentionPolicy.html#RUNTIME"title="class or interface in java.lang.annotation"class="external-link">RUNTIME</a>)
<divclass="col-second even-row-color"><code><ahref="Warning.WarningState.html"class="type-name-link"title="enum class in org.bukkit">Warning.WarningState</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">This represents the states that server verbose for warnings may be.</div>
</div>
</div>
</section>
</li>
<!-- =========== ANNOTATION INTERFACE OPTIONAL MEMBER SUMMARY =========== -->
<divclass="col-first even-row-color"><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a></code></div>
<divclass="block">This sets if the deprecation warnings when registering events gets
printed when the setting is in the default state.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>false normally, or true to encourage warning printout</dd>
</dl>
<dlclass="notes">
<dt>Default:</dt>
<dd>false</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="reason()">
<h3>reason</h3>
<divclass="member-signature"><spanclass="return-type"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a></span> <spanclass="element-name">reason</span></div>
<divclass="block">This can provide detailed information on why the event is deprecated.</div>