GetterAndSetter.java 439 B

1234567891011121314151617181920
  1. package J20250807;
  2. import java.lang.annotation.ElementType;
  3. import java.lang.annotation.Retention;
  4. import java.lang.annotation.RetentionPolicy;
  5. import java.lang.annotation.Target;
  6. /**
  7. * @author WanJl
  8. * @version 1.0
  9. * @title GetterAndSetter
  10. * @description
  11. * @create 2025/8/7
  12. */
  13. //这个注解是修饰
  14. @Target(ElementType.TYPE)
  15. //注解在运行时要保留
  16. @Retention(RetentionPolicy.RUNTIME)
  17. public @interface GetterAndSetter {
  18. }