python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How to prohibit usage of classes with certain annotation
In our organizations we've got several microservices and lots of libraries.
Some libraries define "public" classes that are not intended for public usage - only inside library in multiple pa...

Антон Ткаченко
Votes: 0
Answers: 2
How to check dependencies in generics with ArchUnitTest?
We have a rule that package "foo" should not depend on package "bar"
noClasses()
.that()
.resideInAPackage("com.foo..")
.s...
Артём Савельев
Votes: 0
Answers: 1
Exclude the inner classes in Arch test
haveSimpleNameEndingWith validation in ArchUnit is thorwing the following exception, how to exclude inner classes in the validation?
Code
@ArchTest
static ArchRule consumer_should_be_suffixed =
...

SANN3
Votes: 0
Answers: 1
How to differentiate usage and inheritance in a layered architecture?
I'm trying to validate the following dependencies:
Source
In this picture, red relationships are forbidden, green relationships are allowed:
no class in the adapter package can inherit from a class ...
ddidier
Votes: 0
Answers: 1