Fix wrong annotations's Retention(RetentionPolicy.RUNTIME)

This commit is contained in:
Wu Sheng 2018-08-14 21:42:41 +08:00
parent a5ad06ce46
commit 0ebbb0a559
3 changed files with 3 additions and 3 deletions

View File

@ -24,6 +24,6 @@ import java.lang.annotation.*;
* @author peng-yongsheng
*/
@Target(ElementType.PARAMETER)
@Retention(RetentionPolicy.SOURCE)
@Retention(RetentionPolicy.RUNTIME)
public @interface ConstOne {
}

View File

@ -24,6 +24,6 @@ import java.lang.annotation.*;
* @author peng-yongsheng
*/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.SOURCE)
@Retention(RetentionPolicy.RUNTIME)
public @interface Entrance {
}

View File

@ -24,6 +24,6 @@ import java.lang.annotation.*;
* @author peng-yongsheng
*/
@Target(ElementType.PARAMETER)
@Retention(RetentionPolicy.SOURCE)
@Retention(RetentionPolicy.RUNTIME)
public @interface SourceFrom {
}