Peter Gafert
Peter Gafert
I think that would be a good start, yes :slightly_smiling_face: If we later on see that there is something more we need, we can still extend it. But from what...
The problem is that `Optional::get` is no "lambda" for ArchUnit, but a "method reference". The issue you refer to addresses issues like the following, where the call was not detected...
Yes, you're right on both cases. Concepts that are Jupiter-related don't work with ArchUnit out of the box and I'm also not sure every concept makes sense to be transferred....
@java-coding-prodigy are you still working on this? Do you need any support?
Thanks a lot for your contribution and sorry for the long silence!! I was super overloaded :see_no_evil: It looks widely very nice, just that it also seems to be much...
Maybe option b) is also alright, no? 🤔 Only bad thing about is that users won't know what "check cast" is supposed to be, so we definitely would have to...
You might be able to test if `CheckCast` goes together with one of the allowed Hibernate methods though, no? 🤔 I.e. checking all valid Hibernate "safecast" method calls and then...
I don't think this is possible right now 🤔 As you said, for this we'd have to extend the try-catch-block scanning to also include what's in the catch block, but...
Just for completeness, you could go through your imported classes and e.g. collect the `@Bean` annotated members with their type and name (from the `@Bean` annotation), but in the end...
Sorry for the late answer! There's just a couple of things coming to my mind. First, you could already achieve the same by just chaining the existing method with an...