package com.monkeylessey.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * 作用于方法、方法入参 */ @Target({ElementType.PARAMETER, ElementType.METHOD}) // 指定注解的作用目标为字段 @Retention(RetentionPolicy.RUNTIME) // 指定注解在运行时保留 public @interface Cipher { }