@Target(value={CONSTRUCTOR,METHOD,TYPE}) @Retention(value=RUNTIME) public @interface Warning
当服务器设置使用'default'警告时,如果value()为true,则会输出警告。
value()
原文: This designates the warning state for a specific item.
When the server settings dictate 'default' warnings, warnings are printed if the value() is true.
java.lang.String
reason
boolean
value
public abstract boolean value
原文: This sets if the deprecation warnings when registering events gets printed when the setting is in the default state.
public abstract java.lang.String reason
原文: This can provide detailed information on why the event is deprecated.
abandoned/df73ca4d633aaf75f301964d4d2d2cada820bca2