-
Notifications
You must be signed in to change notification settings - Fork 602
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix FNs with inner classes when looking for exposed mutable fields fr…
…om Java 11 (#3174) * Extend detector `FindReturnRef` to detect exposition of references and buffers in nested and inner classes Tihs patch fixes issue #2042 * switch back the guard clause * Rewrite the tests to the newer type * Rename parameter * Fix merge * Remove unnecessary imports from tests * Rename field to not match a restricted identifier * Spotless apply * fix changelog merge * fix changelog after merge * spelling fix * small refactor * revert changes to FindReturnRef detector * fix EI_EXPOSE_REP2 FNs * fix FNs and tests * add testcase with multilevel nested classes * move FindReturnRef code examples to exposemutable package * fix issue * rename FindReturnRef example classes * fix unconnected issues in FindReturnRef examples + spotlessApply --------- Co-authored-by: Ádám Balogh <[email protected]> Co-authored-by: Balogh, Ádám <[email protected]>
- Loading branch information
1 parent
ba73fa1
commit d37c057
Showing
9 changed files
with
824 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.