out.java
来自「pojo的mvc框架」· Java 代码 · 共 34 行
JAVA
34 行
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;/** * Field outjection: describes a field as to be outjected after logic execution. * * @author Guilherme Silveira */@Target(ElementType.FIELD)@Documented@Retention(value = RetentionPolicy.RUNTIME)public @interface Out { /** * Which scope should be used to outject the object * * @return scope */ public ScopeType scope() default ScopeType.REQUEST; /** * Uses the field name if no value is provided * * @return default value is the field name itself */ public String key() default "";}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?