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