1234567891011121314151617181920 |
- package J20250807;
- import java.lang.annotation.ElementType;
- import java.lang.annotation.Retention;
- import java.lang.annotation.RetentionPolicy;
- import java.lang.annotation.Target;
- /**
- * @author WanJl
- * @version 1.0
- * @title GetterAndSetter
- * @description
- * @create 2025/8/7
- */
- //这个注解是修饰
- @Target(ElementType.TYPE)
- //注解在运行时要保留
- @Retention(RetentionPolicy.RUNTIME)
- public @interface GetterAndSetter {
- }
|