Преглед на файлове

移除自定义注解@Inherited

woody преди 6 месеца
родител
ревизия
4333d4c5a5
променени са 14 файла, в които са добавени 0 реда и са изтрити 28 реда
  1. 0 2
      framework-base/src/main/java/com/chelvc/framework/base/annotation/ResponseWrapping.java
  2. 0 2
      framework-common/src/main/java/com/chelvc/framework/common/annotation/Dates.java
  3. 0 2
      framework-common/src/main/java/com/chelvc/framework/common/annotation/Decimal.java
  4. 0 2
      framework-common/src/main/java/com/chelvc/framework/common/annotation/Numbers.java
  5. 0 2
      framework-common/src/main/java/com/chelvc/framework/common/annotation/Pages.java
  6. 0 2
      framework-common/src/main/java/com/chelvc/framework/common/annotation/Strings.java
  7. 0 2
      framework-database/src/main/java/com/chelvc/framework/database/annotation/Sensitive.java
  8. 0 2
      framework-redis/src/main/java/com/chelvc/framework/redis/annotation/RedisMQConsumer.java
  9. 0 2
      framework-rocketmq/src/main/java/com/chelvc/framework/rocketmq/annotation/RocketMQConsumer.java
  10. 0 2
      framework-security/src/main/java/com/chelvc/framework/security/annotation/Authorize.java
  11. 0 2
      framework-security/src/main/java/com/chelvc/framework/security/annotation/Confidential.java
  12. 0 2
      framework-security/src/main/java/com/chelvc/framework/security/annotation/Desensitize.java
  13. 0 2
      framework-security/src/main/java/com/chelvc/framework/security/annotation/Permission.java
  14. 0 2
      framework-security/src/main/java/com/chelvc/framework/security/annotation/Sign.java

+ 0 - 2
framework-base/src/main/java/com/chelvc/framework/base/annotation/ResponseWrapping.java

@@ -2,7 +2,6 @@ package com.chelvc.framework.base.annotation;
 
 import java.lang.annotation.Documented;
 import java.lang.annotation.ElementType;
-import java.lang.annotation.Inherited;
 import java.lang.annotation.Retention;
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
@@ -13,7 +12,6 @@ import java.lang.annotation.Target;
  * @author Woody
  * @date 2024/1/30
  */
-@Inherited
 @Documented
 @Retention(RetentionPolicy.RUNTIME)
 @Target({ElementType.TYPE, ElementType.METHOD})

+ 0 - 2
framework-common/src/main/java/com/chelvc/framework/common/annotation/Dates.java

@@ -2,7 +2,6 @@ package com.chelvc.framework.common.annotation;
 
 import java.lang.annotation.Documented;
 import java.lang.annotation.ElementType;
-import java.lang.annotation.Inherited;
 import java.lang.annotation.Retention;
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
@@ -17,7 +16,6 @@ import com.chelvc.framework.common.validator.DateValidator;
  * @author Woody
  * @date 2024/4/27
  */
-@Inherited
 @Documented
 @Retention(RetentionPolicy.RUNTIME)
 @Constraint(validatedBy = DateValidator.class)

+ 0 - 2
framework-common/src/main/java/com/chelvc/framework/common/annotation/Decimal.java

@@ -2,7 +2,6 @@ package com.chelvc.framework.common.annotation;
 
 import java.lang.annotation.Documented;
 import java.lang.annotation.ElementType;
-import java.lang.annotation.Inherited;
 import java.lang.annotation.Retention;
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
@@ -18,7 +17,6 @@ import com.fasterxml.jackson.databind.annotation.JsonSerialize;
  * @author Woody
  * @date 2024/1/30
  */
-@Inherited
 @Documented
 @JacksonAnnotationsInside
 @Target(ElementType.FIELD)

+ 0 - 2
framework-common/src/main/java/com/chelvc/framework/common/annotation/Numbers.java

@@ -2,7 +2,6 @@ package com.chelvc.framework.common.annotation;
 
 import java.lang.annotation.Documented;
 import java.lang.annotation.ElementType;
-import java.lang.annotation.Inherited;
 import java.lang.annotation.Retention;
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
@@ -17,7 +16,6 @@ import com.chelvc.framework.common.validator.NumberValidator;
  * @author Woody
  * @date 2024/4/28
  */
-@Inherited
 @Documented
 @Retention(RetentionPolicy.RUNTIME)
 @Constraint(validatedBy = NumberValidator.class)

+ 0 - 2
framework-common/src/main/java/com/chelvc/framework/common/annotation/Pages.java

@@ -2,7 +2,6 @@ package com.chelvc.framework.common.annotation;
 
 import java.lang.annotation.Documented;
 import java.lang.annotation.ElementType;
-import java.lang.annotation.Inherited;
 import java.lang.annotation.Retention;
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
@@ -17,7 +16,6 @@ import com.chelvc.framework.common.validator.PagingValidator;
  * @author Woody
  * @date 2024/4/27
  */
-@Inherited
 @Documented
 @Retention(RetentionPolicy.RUNTIME)
 @Constraint(validatedBy = PagingValidator.class)

+ 0 - 2
framework-common/src/main/java/com/chelvc/framework/common/annotation/Strings.java

@@ -2,7 +2,6 @@ package com.chelvc.framework.common.annotation;
 
 import java.lang.annotation.Documented;
 import java.lang.annotation.ElementType;
-import java.lang.annotation.Inherited;
 import java.lang.annotation.Retention;
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
@@ -18,7 +17,6 @@ import com.chelvc.framework.common.validator.StringValidator;
  * @author Woody
  * @date 2024/4/27
  */
-@Inherited
 @Documented
 @Retention(RetentionPolicy.RUNTIME)
 @Constraint(validatedBy = StringValidator.class)

+ 0 - 2
framework-database/src/main/java/com/chelvc/framework/database/annotation/Sensitive.java

@@ -2,7 +2,6 @@ package com.chelvc.framework.database.annotation;
 
 import java.lang.annotation.Documented;
 import java.lang.annotation.ElementType;
-import java.lang.annotation.Inherited;
 import java.lang.annotation.Retention;
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
@@ -13,7 +12,6 @@ import java.lang.annotation.Target;
  * @author Woody
  * @date 2024/4/3
  */
-@Inherited
 @Documented
 @Target(ElementType.FIELD)
 @Retention(RetentionPolicy.RUNTIME)

+ 0 - 2
framework-redis/src/main/java/com/chelvc/framework/redis/annotation/RedisMQConsumer.java

@@ -2,7 +2,6 @@ package com.chelvc.framework.redis.annotation;
 
 import java.lang.annotation.Documented;
 import java.lang.annotation.ElementType;
-import java.lang.annotation.Inherited;
 import java.lang.annotation.Retention;
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
@@ -13,7 +12,6 @@ import java.lang.annotation.Target;
  * @author Woody
  * @date 2024/1/30
  */
-@Inherited
 @Documented
 @Target(ElementType.TYPE)
 @Retention(RetentionPolicy.RUNTIME)

+ 0 - 2
framework-rocketmq/src/main/java/com/chelvc/framework/rocketmq/annotation/RocketMQConsumer.java

@@ -2,7 +2,6 @@ package com.chelvc.framework.rocketmq.annotation;
 
 import java.lang.annotation.Documented;
 import java.lang.annotation.ElementType;
-import java.lang.annotation.Inherited;
 import java.lang.annotation.Retention;
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
@@ -13,7 +12,6 @@ import java.lang.annotation.Target;
  * @author Woody
  * @date 2024/1/30
  */
-@Inherited
 @Documented
 @Target(ElementType.TYPE)
 @Retention(RetentionPolicy.RUNTIME)

+ 0 - 2
framework-security/src/main/java/com/chelvc/framework/security/annotation/Authorize.java

@@ -2,7 +2,6 @@ package com.chelvc.framework.security.annotation;
 
 import java.lang.annotation.Documented;
 import java.lang.annotation.ElementType;
-import java.lang.annotation.Inherited;
 import java.lang.annotation.Retention;
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
@@ -13,7 +12,6 @@ import java.lang.annotation.Target;
  * @author Woody
  * @date 2024/1/30
  */
-@Inherited
 @Documented
 @Retention(RetentionPolicy.RUNTIME)
 @Target({ElementType.TYPE, ElementType.METHOD})

+ 0 - 2
framework-security/src/main/java/com/chelvc/framework/security/annotation/Confidential.java

@@ -2,7 +2,6 @@ package com.chelvc.framework.security.annotation;
 
 import java.lang.annotation.Documented;
 import java.lang.annotation.ElementType;
-import java.lang.annotation.Inherited;
 import java.lang.annotation.Retention;
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
@@ -13,7 +12,6 @@ import java.lang.annotation.Target;
  * @author Woody
  * @date 2024/8/4
  */
-@Inherited
 @Documented
 @Retention(RetentionPolicy.RUNTIME)
 @Target({ElementType.FIELD, ElementType.METHOD})

+ 0 - 2
framework-security/src/main/java/com/chelvc/framework/security/annotation/Desensitize.java

@@ -2,7 +2,6 @@ package com.chelvc.framework.security.annotation;
 
 import java.lang.annotation.Documented;
 import java.lang.annotation.ElementType;
-import java.lang.annotation.Inherited;
 import java.lang.annotation.Retention;
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
@@ -17,7 +16,6 @@ import com.fasterxml.jackson.databind.annotation.JsonSerialize;
  * @author Woody
  * @date 2024/1/30
  */
-@Inherited
 @Documented
 @JacksonAnnotationsInside
 @Target(ElementType.FIELD)

+ 0 - 2
framework-security/src/main/java/com/chelvc/framework/security/annotation/Permission.java

@@ -2,7 +2,6 @@ package com.chelvc.framework.security.annotation;
 
 import java.lang.annotation.Documented;
 import java.lang.annotation.ElementType;
-import java.lang.annotation.Inherited;
 import java.lang.annotation.Retention;
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
@@ -15,7 +14,6 @@ import com.chelvc.framework.security.context.SecurityContextHolder;
  * @author Woody
  * @date 2024/5/19
  */
-@Inherited
 @Documented
 @Target(ElementType.METHOD)
 @Retention(RetentionPolicy.RUNTIME)

+ 0 - 2
framework-security/src/main/java/com/chelvc/framework/security/annotation/Sign.java

@@ -2,7 +2,6 @@ package com.chelvc.framework.security.annotation;
 
 import java.lang.annotation.Documented;
 import java.lang.annotation.ElementType;
-import java.lang.annotation.Inherited;
 import java.lang.annotation.Retention;
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
@@ -13,7 +12,6 @@ import java.lang.annotation.Target;
  * @author Woody
  * @date 2024/8/2
  */
-@Inherited
 @Documented
 @Retention(RetentionPolicy.RUNTIME)
 @Target({ElementType.TYPE, ElementType.METHOD})