Replies: 1 comment 2 replies
-
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys,
thanks for working on this so useful tool, it's great.
I feel like ArchUnit misses dependences on things that are not methods, or at least dependencies on constants (final static) fields.
Maybe you're interested to have a look on that.
Just define a final static member in a class A in package a and a class B in package b that depends on static field of class A.
Then define a rule telling classes in package b shoould not depend on classes in package a, and ArchUnit will just see ... nothing
Thanks again for your super work.
Best,
Giorgio
Beta Was this translation helpful? Give feedback.
All reactions