Peter Gafert

Results 217 comments of Peter Gafert

Ah, I already have one in progress :slightly_smiling_face: But thanks a lot for offering! (should probably already have put it there as a draft PR)

I'm afraid this is not that convenient at the moment :thinking: Because as mentioned the link `JavaClass` -> inner class is missing (I actually planned on adding it, but haven't...

Gonna close this since there has been no activity for a long time. Feel free to reopen if you want to revisit this!

I think the problem simply is that `callMethod(..)` wants you to specify the method exactly **including** parameter types. And the parameter types are omitted in your example (i.e. it only...

Hmm, `OnlyIncludeTests` works in standard scenarios, i.e. a standard Maven, Gradle or IntelliJ layout. You could turn up logging or put a break point inside of `OnlyIncludeTests` and debug to...

I'm open for the suggestion, but I'd also be interested what "too all-encompassing" means in your context :thinking:

Ah, I think I understand. But even if `WhiteListedClass1` would expose `BadClass` as public API no other class could use it or it would be caught by the rule again,...

Sorry, that is not possible at the moment, because ArchUnit doesn't import the necessary properties from the bytecode (e.g. if-statements). What would be your use case? Otherwise, there are many...

Yes, we're always open to contributions :slightly_smiling_face: That being said we need to be careful that the value of every feature is not outweighed by its disadvantages. I'm not saying...

Sorry that I dropped the ball a little here :see_no_evil: Honestly, I'm not convinced of this. Because "complexity" is quite subjective, there are many possible definitions you could pick. And...