📄 displayname.java
字号:
/** * DisplayName.java - This annotation allows to supply * a display name for a method in the MBean interface. */package com.example.mxbeans;import java.lang.annotation.Documented;import java.lang.annotation.ElementType;import java.lang.annotation.Retention;import java.lang.annotation.RetentionPolicy;import java.lang.annotation.Target;import javax.management.DescriptorKey;@Documented@Target(ElementType.METHOD)@Retention(RetentionPolicy.RUNTIME)public @interface DisplayName { @DescriptorKey("displayName") String value();}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -