I wondering what's the difference between members()
and fields()
in ArchUnit. I can't find any documentation about it.
I wondering what's the difference between members()
and fields()
in ArchUnit. I can't find any documentation about it.
The ArchUnit User Guide documents the domain model. The members of a class consist of all of its fields and code units (i.e. methods, constructors and static initializers).