SONARKT-739 S6518 Add class exceptions for common user errors where operator is provided via java interop#701
Conversation
SummaryWhat changed: Rule S6518 now includes class-level exceptions for Java interop operators that should not be converted to indexed access syntax. Previously, the rule aggressively flagged all The fix adds logic to:
This eliminates ~40 false positives across test projects (Corda, IntelliJ Rust, Kotlin, etc.) while preserving legitimate warnings for actual collection types. Why: Java has no operator overloading syntax for What reviewers should knowStart here: Review Key decisions:
Test coverage notes:
|
petertrr
left a comment
There was a problem hiding this comment.
Good progress, but more examples with non-stdlib dependencies are needed.
|




Part of