⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fieldannotation.java

📁 pojo的mvc框架
💻 JAVA
字号:
package xyz.frame.component;import java.lang.annotation.Annotation;import java.lang.reflect.Field;/** * Represents a field annotated. *  * @author Guilherme Silveira * @param <T> *            the type of annotation which shall be used */public class FieldAnnotation<T extends Annotation> {	private T annotation;	private Field field;	/**	 * Simple constructor	 * @param annotation	annotation	 * @param f				field	 */	public FieldAnnotation(T annotation, Field f) {		this.annotation = annotation;		this.field = f;	}	/**	 * @return Returns the annotation.	 */	public T getAnnotation() {		return this.annotation;	}	/**	 * @return Returns the field.	 */	public Field getField() {		return this.field;	}}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -