TNG / ArchUnit

A Java architecture test library, to specify and assert architecture rules in plain Java
http://archunit.org
Apache License 2.0
3.18k stars 288 forks source link

Add predicate to find overridden methods #1198

Open rweisleder opened 10 months ago

rweisleder commented 10 months ago

Because I implement/copy it now probably for the third time: It would be great if ArchUnit would provide methods/predicates with which you can check whether a method overrides / implements a method from a base class or from an interface.

As suggested in https://github.com/TNG/ArchUnit/issues/359#issuecomment-977576053: