📄 myannotation.java
字号:
/*
* MyAnnotation.java
*
* Created on 2007年9月19日, 下午11:24
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package newAnnotation;
/**
*
* @author Administrator
*/
import java.lang.annotation.*;
/**
* Indicates that the annotated method is a test method.
* This annotation should be used only on parameterless static methods.
*/
@Retention(RetentionPolicy.RUNTIME)
public @interface MyAnnotation {
Name value();
//String first();
//String last();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -