Skip to content

Commit 7cd87eb

Browse files
authored
add archunit override annotation (#66)
1 parent bb36911 commit 7cd87eb

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package it.aboutbits.springboot.toolbox.archunit;
2+
3+
import java.lang.annotation.Documented;
4+
import java.lang.annotation.ElementType;
5+
import java.lang.annotation.Retention;
6+
import java.lang.annotation.RetentionPolicy;
7+
import java.lang.annotation.Target;
8+
9+
@Target({ElementType.TYPE, ElementType.FIELD, ElementType.RECORD_COMPONENT})
10+
@Retention(RetentionPolicy.RUNTIME)
11+
@Documented
12+
public @interface ArchAllowDirectAccess {
13+
String reason();
14+
}

0 commit comments

Comments
 (0)