diff --git a/src/main/java/it/aboutbits/springboot/toolbox/archunit/ArchAllowDirectAccess.java b/src/main/java/it/aboutbits/springboot/toolbox/archunit/ArchAllowDirectAccess.java new file mode 100644 index 0000000..e7ec390 --- /dev/null +++ b/src/main/java/it/aboutbits/springboot/toolbox/archunit/ArchAllowDirectAccess.java @@ -0,0 +1,14 @@ +package it.aboutbits.springboot.toolbox.archunit; + +import java.lang.annotation.Documented; +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Target({ElementType.TYPE, ElementType.FIELD, ElementType.RECORD_COMPONENT}) +@Retention(RetentionPolicy.RUNTIME) +@Documented +public @interface ArchAllowDirectAccess { + String reason(); +}