Fix wrong annotations's Retention(RetentionPolicy.RUNTIME)
This commit is contained in:
parent
a5ad06ce46
commit
0ebbb0a559
|
|
@ -24,6 +24,6 @@ import java.lang.annotation.*;
|
|||
* @author peng-yongsheng
|
||||
*/
|
||||
@Target(ElementType.PARAMETER)
|
||||
@Retention(RetentionPolicy.SOURCE)
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface ConstOne {
|
||||
}
|
||||
|
|
|
|||
|
|
@ -24,6 +24,6 @@ import java.lang.annotation.*;
|
|||
* @author peng-yongsheng
|
||||
*/
|
||||
@Target(ElementType.METHOD)
|
||||
@Retention(RetentionPolicy.SOURCE)
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface Entrance {
|
||||
}
|
||||
|
|
|
|||
|
|
@ -24,6 +24,6 @@ import java.lang.annotation.*;
|
|||
* @author peng-yongsheng
|
||||
*/
|
||||
@Target(ElementType.PARAMETER)
|
||||
@Retention(RetentionPolicy.SOURCE)
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface SourceFrom {
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue