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

📄 in.java

📁 pojo的mvc框架
💻 JAVA
字号:
package xyz.frame.annotations;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 xyz.frame.scope.ScopeType;/** * Describes a field where injection should be performed. *  * @author Guilherme Silveira */@Target(ElementType.FIELD)@Documented@Retention(value = RetentionPolicy.RUNTIME)public @interface In {	/**	 * Should it be created if not found?	 * 	 * @return true or false	 */	public boolean create() default false;	/**	 * Is it required?	 * 	 * @return true or false	 */	public boolean required() default true;	/**	 * Which scope should be used to search for the object	 * 	 * @return scope	 */	public ScopeType scope() default ScopeType.REQUEST;	/**	 * Which key should be used (default to field name)	 * 	 * @return key	 */	public String key() default "";}

⌨️ 快捷键说明

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