-  
       
@Target(TYPE) @Retention(RUNTIME) @Inherited public @interface Enabled
事件注释,确定是否应默认启用事件。如果事件没有注释,则默认情况下启用事件。
- 从以下版本开始:
 - 9
 
 
-  
        
       
-  
             
字段详细信息
-  
NAME
static final String NAME
设置名称"enabled"表示应记录该事件。 
 -  
 
 -  
             
 
@Target(TYPE) @Retention(RUNTIME) @Inherited public @interface Enabled
如果事件没有注释,则默认情况下启用事件。
static final String NAME
"enabled"表示应记录该事件。