@Target({CONSTRUCTOR,METHOD,TYPE})
@Retention(RUNTIME)
public @interface Warning
When the server settings dictate 'default' warnings, warnings are printed
if the value()
is true.
Modifier and Type | Optional Element | Description |
---|---|---|
java.lang.String |
reason |
This can provide detailed information on why the event is deprecated.
|
boolean |
value |
This sets if the deprecation warnings when registering events gets
printed when the setting is in the default state.
|
Copyright © 2018. All rights reserved.