Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.overridesMethod() would be nice to have #1417

Open
yegor256 opened this issue Feb 3, 2025 · 1 comment
Open

.overridesMethod() would be nice to have #1417

yegor256 opened this issue Feb 3, 2025 · 1 comment

Comments

@yegor256
Copy link

yegor256 commented Feb 3, 2025

I'm trying to do this:

ArchRuleDefinition.classes()
  .that().implement(Foo.class)
  .should().overrideMethod("toString");

Maybe I miss something, but it's not possible with archunit 1.3.0

@rweisleder
Copy link
Contributor

Related to #1198

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants