I've trying to write tests like below
ArchRuleDefinition.fields()
.that().inSomeCondition()
.should()
.notBeAccessedFromMethods().inSomeCondition()
or
ArchRuleDefinition.methods()
.that().inSomeCondition()
.should()
.notBeAccessFields().inSomeCondition()
Is there any kind of support for detecting dependency of fields in methods.
I've trying to write tests like below
or
Is there any kind of support for detecting dependency of fields in methods.